In RGB color space, #1f0c8f hex color has a red value of 31, a green value of 12 and a blue value of 143.
In CMYK color space (used in color printing), #1f0c8f hex color is composed of 78.32% cyan, 91.61% magenta, 0% yellow and 43.92% black.
#1f0c8f color has a hue of 248.7 degrees, a saturation of 84.52% and a lightness of 30.4%.
#1f0c8f hex color contains mainly BLUE.
The closest web safe color of #1f0c8f is #330099
#1f0c8f hex color has a decimal value of 2034831.
HEX | 1f0c8f | #1f0c8f |
---|---|---|
RGB | 31, 12, 143 | rgb(31, 12, 143) |
RGB Percent | 12.16, 4.71, 56.08 | rgb(12.16, 4.71, 56.08) |
CMYK | 78, 92, 0, 44 | |
HSL | 248.7°, 84.52, 30.4 | hsl(248.7, 84.52%, 30.4%) |
HSV | 248.7°, 91.6, 56.1 |
XYZ | 5.654, 2.537, 26.178 |
---|---|
Hunter Lab | 15.928, 35.489, -86.295 |
CIE-LAB | 18.085, 48.265, -65.595 |
CIE-LCH | 18.085, 81.438, 306.346 |
CIE-LUV | 78.32, 91.61, 0, 43.92 |
Web Safe | 330099 |
RGB percent of color #1f0c8f
CMYK percent of color #1f0c8f
Text with hexadecimal color #1f0c8f
This text has a font color of #1f0c8f
<p style="color:#1f0c8f">Text here</p>
#1f0c8f Background Color
This box has a background color of #1f0c8f
<div style="background-color:#1f0c8f">Text here</div>
#1f0c8f Border Color
This box has a border color of #1f0c8f
<div style="border: 4px solid #1f0c8f">Text here</div>
CSS codes
<p style="color:#1f0c8f">Text here</p>
<div style="background-color:#1f0c8f">Text here</div>
<div style="border: 4px solid #1f0c8f">Text here</div>
#1f0c8f Color on white background
This is how a font and box color of #1f0c8f will look
on a white background.
#1f0c8f Color on black background
This is how a font and box color of #1f0c8f hex color will look
on a black background.