In RGB color space, #5f0c9b hex color has a red value of 95, a green value of 12 and a blue value of 155.
In CMYK color space (used in color printing), #5f0c9b hex color is composed of 38.71% cyan, 92.26% magenta, 0% yellow and 39.22% black.
#5f0c9b color has a hue of 274.8 degrees, a saturation of 85.63% and a lightness of 32.7%.
#5f0c9b hex color contains mainly BLUE.
The closest web safe color of #5f0c9b is #660099
#5f0c9b hex color has a decimal value of 6229147.
HEX | 5f0c9b | #5f0c9b |
---|---|---|
RGB | 95, 12, 155 | rgb(95, 12, 155) |
RGB Percent | 37.25, 4.71, 60.78 | rgb(37.25, 4.71, 60.78) |
CMYK | 39, 92, 0, 39 | |
HSL | 274.8°, 85.63, 32.7 | hsl(274.8, 85.63%, 32.7%) |
HSV | 274.8°, 92.3, 60.8 |
XYZ | 10.767, 5.062, 31.42 |
---|---|
Hunter Lab | 22.499, 46.049, -67.05 |
CIE-LAB | 26.911, 56.97, -58.18 |
CIE-LCH | 26.911, 81.428, 314.398 |
CIE-LUV | 38.71, 92.26, 0, 39.22 |
Web Safe | 660099 |
RGB percent of color #5f0c9b
CMYK percent of color #5f0c9b
Text with hexadecimal color #5f0c9b
This text has a font color of #5f0c9b
<p style="color:#5f0c9b">Text here</p>
#5f0c9b Background Color
This box has a background color of #5f0c9b
<div style="background-color:#5f0c9b">Text here</div>
#5f0c9b Border Color
This box has a border color of #5f0c9b
<div style="border: 4px solid #5f0c9b">Text here</div>
CSS codes
<p style="color:#5f0c9b">Text here</p>
<div style="background-color:#5f0c9b">Text here</div>
<div style="border: 4px solid #5f0c9b">Text here</div>
#5f0c9b Color on white background
This is how a font and box color of #5f0c9b will look
on a white background.
#5f0c9b Color on black background
This is how a font and box color of #5f0c9b hex color will look
on a black background.