#1f0157 hex color
In a RGB color space, hex #1f0157 is composed of 12.2% red, 0.4% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 64.4% cyan, 98.9% magenta, 0% yellow and 65.9% black. It has a hue angle of 260.9 degrees, a saturation of 97.7% and a lightness of 17.3%. #1f0157 color hex could be obtained by blending #3e02ae 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
● #1f0157 color description : Very dark violet.
The hexadecimal color #1f0157 has RGB values of R:31, G:1, B:87 and CMYK values of C:0.64, M:0.99, Y:0, K:0.66. Its decimal value is 2031959.
Hex triplet | 1f0157 | #1f0157 |
---|---|---|
RGB Decimal | 31, 1, 87 | rgb(31,1,87) |
RGB Percent | 12.2, 0.4, 34.1 | rgb(12.2%,0.4%,34.1%) |
CMYK | 64, 99, 0, 66 | |
HSL | 260.9°, 97.7, 17.3 | hsl(260.9,97.7%,17.3%) |
HSV (or HSB) | 260.9°, 98.9, 34.1 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 9, 36.776, -44.302 |
---|---|
XYZ | 2.296, 1.001, 9.089 |
xyY | 0.185, 0.081, 1.001 |
CIE-LCH | 9, 57.577, 309.697 |
CIE-LUV | 9, 0.957, -31.15 |
Hunter-Lab | 10.005, 23.451, -46.853 |
Binary | 00011111, 00000001, 01010111 |
Split Complementary Color
Below, you can see some colors close to #1f0157. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f0157
This text has a font color of #1f0157.
<span style="color:#1f0157;">Text here</span>
#1f0157 background color
This paragraph has a background color of #1f0157.
<p style="background-color:#1f0157;">Content here</p>
#1f0157 border color
This element has a border color of #1f0157.
<div style="border:1px solid #1f0157;">Content here</div>
CSS codes
.text {color:#1f0157;}
.background {background-color:#1f0157;}
.border {border:1px solid #1f0157;}
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, #030009 is the darkest color, while #f8f5ff is the lightest one.
-
#030009
#030009
rgb(3,0,9)
-
#0a001d
#0a001d
rgb(10,0,29)
-
#110130
#110130
rgb(17,1,48)
-
#180144
#180144
rgb(24,1,68)
-
#1f0157
#1f0157
rgb(31,1,87)
-
#26016a
#26016a
rgb(38,1,106)
-
#2d017e
#2d017e
rgb(45,1,126)
-
#340291
#340291
rgb(52,2,145)
-
#3b02a5
#3b02a5
rgb(59,2,165)
-
#4202b8
#4202b8
rgb(66,2,184)
-
#4802cb
#4802cb
rgb(72,2,203)
-
#4f03df
#4f03df
rgb(79,3,223)
-
#5603f2
#5603f2
rgb(86,3,242)
Shade Color Variation
-
#600cfc
#600cfc
rgb(96,12,252)
-
#6d20fc
#6d20fc
rgb(109,32,252)
-
#7933fd
#7933fd
rgb(121,51,253)
-
#8647fd
#8647fd
rgb(134,71,253)
-
#935afd
#935afd
rgb(147,90,253)
-
#a06dfd
#a06dfd
rgb(160,109,253)
-
#ac81fe
#ac81fe
rgb(172,129,254)
-
#b994fe
#b994fe
rgb(185,148,254)
-
#c6a7fe
#c6a7fe
rgb(198,167,254)
-
#d2bbfe
#d2bbfe
rgb(210,187,254)
-
#dfcefe
#dfcefe
rgb(223,206,254)
-
#ece2ff
#ece2ff
rgb(236,226,255)
-
#f8f5ff
#f8f5ff
rgb(248,245,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2b2a2e is the less saturated color, while #1f0157 is the most saturated one.
-
#2b2a2e
#2b2a2e
rgb(43,42,46)
-
#2a2632
#2a2632
rgb(42,38,50)
-
#292335
#292335
rgb(41,35,53)
-
#281f39
#281f39
rgb(40,31,57)
-
#271c3c
#271c3c
rgb(39,28,60)
-
#26193f
#26193f
rgb(38,25,63)
-
#251543
#251543
rgb(37,21,67)
-
#241246
#241246
rgb(36,18,70)
-
#230f49
#230f49
rgb(35,15,73)
-
#220b4d
#220b4d
rgb(34,11,77)
-
#210850
#210850
rgb(33,8,80)
-
#200454
#200454
rgb(32,4,84)
-
#1f0157
#1f0157
rgb(31,1,87)
Tone Color Variation
Below, you can see how #1f0157 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