#1f0156 hex color
In a RGB color space, hex #1f0156 is composed of 12.2% red, 0.4% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 64% cyan, 98.8% magenta, 0% yellow and 66.3% black. It has a hue angle of 261.2 degrees, a saturation of 97.7% and a lightness of 17.1%. #1f0156 color hex could be obtained by blending #3e02ac with #000000. Closest websafe color is: #330066.
-
- R 12
- G 0
- B 34
RGB color chart
-
- C 64
- M 99
- Y 0
- K 66
CMYK color chart
● #1f0156 color description : Very dark violet.
The hexadecimal color #1f0156 has RGB values of R:31, G:1, B:86 and CMYK values of C:0.64, M:0.99, Y:0, K:0.66. Its decimal value is 2031958.
Hex triplet | 1f0156 | #1f0156 |
---|---|---|
RGB Decimal | 31, 1, 86 | rgb(31,1,86) |
RGB Percent | 12.2, 0.4, 33.7 | rgb(12.2%,0.4%,33.7%) |
CMYK | 64, 99, 0, 66 | |
HSL | 261.2°, 97.7, 17.1 | hsl(261.2,97.7%,17.1%) |
HSV (or HSB) | 261.2°, 98.8, 33.7 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 8.865, 36.505, -43.846 |
---|---|
XYZ | 2.255, 0.985, 8.875 |
xyY | 0.186, 0.081, 0.985 |
CIE-LCH | 8.865, 57.053, 309.78 |
CIE-LUV | 8.865, 1.017, -30.571 |
Hunter-Lab | 9.924, 23.2, -46.076 |
Binary | 00011111, 00000001, 01010110 |
Split Complementary Color
Below, you can see some colors close to #1f0156. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f0156
This text has a font color of #1f0156.
<span style="color:#1f0156;">Text here</span>
#1f0156 background color
This paragraph has a background color of #1f0156.
<p style="background-color:#1f0156;">Content here</p>
#1f0156 border color
This element has a border color of #1f0156.
<div style="border:1px solid #1f0156;">Content here</div>
CSS codes
.text {color:#1f0156;}
.background {background-color:#1f0156;}
.border {border:1px solid #1f0156;}
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, #030008 is the darkest color, while #f8f4ff is the lightest one.
-
#030008
#030008
rgb(3,0,8)
-
#0a001c
#0a001c
rgb(10,0,28)
-
#11012f
#11012f
rgb(17,1,47)
-
#180143
#180143
rgb(24,1,67)
-
#1f0156
#1f0156
rgb(31,1,86)
-
#260169
#260169
rgb(38,1,105)
-
#2d017d
#2d017d
rgb(45,1,125)
-
#340290
#340290
rgb(52,2,144)
-
#3b02a4
#3b02a4
rgb(59,2,164)
-
#4202b7
#4202b7
rgb(66,2,183)
-
#4902ca
#4902ca
rgb(73,2,202)
-
#5003de
#5003de
rgb(80,3,222)
-
#5703f1
#5703f1
rgb(87,3,241)
Shade Color Variation
-
#600bfc
#600bfc
rgb(96,11,252)
-
#6d1ffc
#6d1ffc
rgb(109,31,252)
-
#7a32fd
#7a32fd
rgb(122,50,253)
-
#8646fd
#8646fd
rgb(134,70,253)
-
#9359fd
#9359fd
rgb(147,89,253)
-
#9f6cfd
#9f6cfd
rgb(159,108,253)
-
#ac80fe
#ac80fe
rgb(172,128,254)
-
#b993fe
#b993fe
rgb(185,147,254)
-
#c5a6fe
#c5a6fe
rgb(197,166,254)
-
#d2bafe
#d2bafe
rgb(210,186,254)
-
#dfcdfe
#dfcdfe
rgb(223,205,254)
-
#ebe1ff
#ebe1ff
rgb(235,225,255)
-
#f8f4ff
#f8f4ff
rgb(248,244,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2b292e is the less saturated color, while #1f0156 is the most saturated one.
-
#2b292e
#2b292e
rgb(43,41,46)
-
#2a2631
#2a2631
rgb(42,38,49)
-
#292235
#292235
rgb(41,34,53)
-
#281f38
#281f38
rgb(40,31,56)
-
#271c3b
#271c3b
rgb(39,28,59)
-
#26183f
#26183f
rgb(38,24,63)
-
#251542
#251542
rgb(37,21,66)
-
#241245
#241245
rgb(36,18,69)
-
#230e49
#230e49
rgb(35,14,73)
-
#220b4c
#220b4c
rgb(34,11,76)
-
#21084f
#21084f
rgb(33,8,79)
-
#200453
#200453
rgb(32,4,83)
-
#1f0156
#1f0156
rgb(31,1,86)
Tone Color Variation
Below, you can see how #1f0156 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