In RGB color space, #5f2f9c hex color has a red value of 95, a green value of 47 and a blue value of 156.
In CMYK color space (used in color printing), #5f2f9c hex color is composed of 39.1% cyan, 69.87% magenta, 0% yellow and 38.82% black.
#5f2f9c color has a hue of 266.4 degrees, a saturation of 53.69% and a lightness of 39.8%.
#5f2f9c hex color contains mainly BLUE.
The closest web safe color of #5f2f9c is #663399
#5f2f9c hex color has a decimal value of 6238108.
HEX | 5f2f9c | #5f2f9c |
---|---|---|
RGB | 95, 47, 156 | rgb(95, 47, 156) |
RGB Percent | 37.25, 18.43, 61.18 | rgb(37.25, 18.43, 61.18) |
CMYK | 39, 70, 0, 39 | |
HSL | 266.4°, 53.69, 39.8 | hsl(266.4, 53.69%, 39.8%) |
HSV | 266.4°, 69.9, 61.2 |
XYZ | 11.737, 6.866, 32.159 |
---|---|
Hunter Lab | 26.203, 34.099, -54.424 |
CIE-LAB | 31.5, 44.246, -51.295 |
CIE-LCH | 31.5, 67.741, 310.78 |
CIE-LUV | 39.1, 69.87, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #5f2f9c
CMYK percent of color #5f2f9c
Text with hexadecimal color #5f2f9c
This text has a font color of #5f2f9c
<p style="color:#5f2f9c">Text here</p>
#5f2f9c Background Color
This box has a background color of #5f2f9c
<div style="background-color:#5f2f9c">Text here</div>
#5f2f9c Border Color
This box has a border color of #5f2f9c
<div style="border: 4px solid #5f2f9c">Text here</div>
CSS codes
<p style="color:#5f2f9c">Text here</p>
<div style="background-color:#5f2f9c">Text here</div>
<div style="border: 4px solid #5f2f9c">Text here</div>
#5f2f9c Color on white background
This is how a font and box color of #5f2f9c will look
on a white background.
#5f2f9c Color on black background
This is how a font and box color of #5f2f9c hex color will look
on a black background.