In RGB color space, #5f0c8c hex color has a red value of 95, a green value of 12 and a blue value of 140.
In CMYK color space (used in color printing), #5f0c8c hex color is composed of 32.14% cyan, 91.43% magenta, 0% yellow and 45.1% black.
#5f0c8c color has a hue of 278.9 degrees, a saturation of 84.21% and a lightness of 29.8%.
#5f0c8c hex color contains mainly BLUE.
The closest web safe color of #5f0c8c is #660099
#5f0c8c hex color has a decimal value of 6229132.
HEX | 5f0c8c | #5f0c8c |
---|---|---|
RGB | 95, 12, 140 | rgb(95, 12, 140) |
RGB Percent | 37.25, 4.71, 54.9 | rgb(37.25, 4.71, 54.9) |
CMYK | 32, 91, 0, 45 | |
HSL | 278.9°, 84.21, 29.8 | hsl(278.9, 84.21%, 29.8%) |
HSV | 278.9°, 91.4, 54.9 |
XYZ | 9.584, 4.589, 25.192 |
---|---|
Hunter Lab | 21.422, 42.371, -54.729 |
CIE-LAB | 25.53, 53.714, -51.177 |
CIE-LCH | 25.53, 74.191, 316.386 |
CIE-LUV | 32.14, 91.43, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #5f0c8c
CMYK percent of color #5f0c8c
Text with hexadecimal color #5f0c8c
This text has a font color of #5f0c8c
<p style="color:#5f0c8c">Text here</p>
#5f0c8c Background Color
This box has a background color of #5f0c8c
<div style="background-color:#5f0c8c">Text here</div>
#5f0c8c Border Color
This box has a border color of #5f0c8c
<div style="border: 4px solid #5f0c8c">Text here</div>
CSS codes
<p style="color:#5f0c8c">Text here</p>
<div style="background-color:#5f0c8c">Text here</div>
<div style="border: 4px solid #5f0c8c">Text here</div>
#5f0c8c Color on white background
This is how a font and box color of #5f0c8c will look
on a white background.
#5f0c8c Color on black background
This is how a font and box color of #5f0c8c hex color will look
on a black background.