In RGB color space, #1f0c7f hex color has a red value of 31, a green value of 12 and a blue value of 127.
In CMYK color space (used in color printing), #1f0c7f hex color is composed of 75.59% cyan, 90.55% magenta, 0% yellow and 50.2% black.
#1f0c7f color has a hue of 249.9 degrees, a saturation of 82.73% and a lightness of 27.3%.
#1f0c7f hex color contains mainly BLUE.
The closest web safe color of #1f0c7f is #330066
#1f0c7f hex color has a decimal value of 2034815.
HEX | 1f0c7f | #1f0c7f |
---|---|---|
RGB | 31, 12, 127 | rgb(31, 12, 127) |
RGB Percent | 12.16, 4.71, 49.8 | rgb(12.16, 4.71, 49.8) |
CMYK | 76, 91, 0, 50 | |
HSL | 249.9°, 82.73, 27.3 | hsl(249.9, 82.73%, 27.3%) |
HSV | 249.9°, 90.6, 49.8 |
XYZ | 4.527, 2.087, 20.243 |
---|---|
Hunter Lab | 14.446, 30.654, -72.967 |
CIE-LAB | 15.937, 43.582, -59.084 |
CIE-LCH | 15.937, 73.419, 306.414 |
CIE-LUV | 75.59, 90.55, 0, 50.2 |
Web Safe | 330066 |
RGB percent of color #1f0c7f
CMYK percent of color #1f0c7f
Text with hexadecimal color #1f0c7f
This text has a font color of #1f0c7f
<p style="color:#1f0c7f">Text here</p>
#1f0c7f Background Color
This box has a background color of #1f0c7f
<div style="background-color:#1f0c7f">Text here</div>
#1f0c7f Border Color
This box has a border color of #1f0c7f
<div style="border: 4px solid #1f0c7f">Text here</div>
CSS codes
<p style="color:#1f0c7f">Text here</p>
<div style="background-color:#1f0c7f">Text here</div>
<div style="border: 4px solid #1f0c7f">Text here</div>
#1f0c7f Color on white background
This is how a font and box color of #1f0c7f will look
on a white background.
#1f0c7f Color on black background
This is how a font and box color of #1f0c7f hex color will look
on a black background.