#1f162a hex color
In a RGB color space, hex #1f162a is composed of 12.2% red, 8.6% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 47.6% magenta, 0% yellow and 83.5% black. It has a hue angle of 267 degrees, a saturation of 31.3% and a lightness of 12.5%. #1f162a color hex could be obtained by blending #3e2c54 with #000000. Closest websafe color is: #330033.
-
- R 12
- G 9
- B 16
RGB color chart
-
- C 26
- M 48
- Y 0
- K 84
CMYK color chart
● #1f162a color description : Very dark (mostly black) violet.
The hexadecimal color #1f162a has RGB values of R:31, G:22, B:42 and CMYK values of C:0.26, M:0.48, Y:0, K:0.84. Its decimal value is 2037290.
Hex triplet | 1f162a | #1f162a |
---|---|---|
RGB Decimal | 31, 22, 42 | rgb(31,22,42) |
RGB Percent | 12.2, 8.6, 16.5 | rgb(12.2%,8.6%,16.5%) |
CMYK | 26, 48, 0, 84 | |
HSL | 267°, 31.3, 12.5 | hsl(267,31.3%,12.5%) |
HSV (or HSB) | 267°, 47.6, 16.5 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 9.258, 9.773, -11.92 |
---|---|
XYZ | 1.27, 1.032, 2.323 |
xyY | 0.275, 0.223, 1.032 |
CIE-LCH | 9.258, 15.414, 309.347 |
CIE-LUV | 9.258, 1.959, -9.23 |
Hunter-Lab | 10.16, 4.529, -6.442 |
Binary | 00011111, 00010110, 00101010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #1f162a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f162a
This text has a font color of #1f162a.
<span style="color:#1f162a;">Text here</span>
#1f162a background color
This paragraph has a background color of #1f162a.
<p style="background-color:#1f162a;">Content here</p>
#1f162a border color
This element has a border color of #1f162a.
<div style="border:1px solid #1f162a;">Content here</div>
CSS codes
.text {color:#1f162a;}
.background {background-color:#1f162a;}
.border {border:1px solid #1f162a;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #020203 is the darkest color, while #f8f6fa is the lightest one.
-
#020203
#020203
rgb(2,2,3)
-
#0c0910
#0c0910
rgb(12,9,16)
-
#150f1d
#150f1d
rgb(21,15,29)
-
#1f162a
#1f162a
rgb(31,22,42)
-
#291d37
#291d37
rgb(41,29,55)
-
#322344
#322344
rgb(50,35,68)
-
#3c2a51
#3c2a51
rgb(60,42,81)
-
#45315d
#45315d
rgb(69,49,93)
-
#4f386a
#4f386a
rgb(79,56,106)
-
#583e77
#583e77
rgb(88,62,119)
-
#624584
#624584
rgb(98,69,132)
-
#6b4c91
#6b4c91
rgb(107,76,145)
-
#75539e
#75539e
rgb(117,83,158)
Shade Color Variation
-
#7e5ba9
#7e5ba9
rgb(126,91,169)
-
#8868b0
#8868b0
rgb(136,104,176)
-
#9275b7
#9275b7
rgb(146,117,183)
-
#9d82bd
#9d82bd
rgb(157,130,189)
-
#a78fc4
#a78fc4
rgb(167,143,196)
-
#b19bcb
#b19bcb
rgb(177,155,203)
-
#bba8d2
#bba8d2
rgb(187,168,210)
-
#c5b5d8
#c5b5d8
rgb(197,181,216)
-
#cfc2df
#cfc2df
rgb(207,194,223)
-
#d9cfe6
#d9cfe6
rgb(217,207,230)
-
#e3dced
#e3dced
rgb(227,220,237)
-
#ede9f3
#ede9f3
rgb(237,233,243)
-
#f8f6fa
#f8f6fa
rgb(248,246,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #202020 is the less saturated color, while #1d023e is the most saturated one.
-
#202020
#202020
rgb(32,32,32)
-
#201d23
#201d23
rgb(32,29,35)
-
#1f1b25
#1f1b25
rgb(31,27,37)
-
#1f1828
#1f1828
rgb(31,24,40)
-
#1f162a
#1f162a
rgb(31,22,42)
-
#1f142c
#1f142c
rgb(31,20,44)
-
#1f112f
#1f112f
rgb(31,17,47)
-
#1e0f31
#1e0f31
rgb(30,15,49)
-
#1e0c34
#1e0c34
rgb(30,12,52)
-
#1e0a36
#1e0a36
rgb(30,10,54)
-
#1e0739
#1e0739
rgb(30,7,57)
-
#1d053b
#1d053b
rgb(29,5,59)
-
#1d023e
#1d023e
rgb(29,2,62)
Tone Color Variation
Below, you can see how #1f162a is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy