In RGB color space, #5f2f9e hex color has a red value of 95, a green value of 47 and a blue value of 158.
In CMYK color space (used in color printing), #5f2f9e hex color is composed of 39.87% cyan, 70.25% magenta, 0% yellow and 38.04% black.
#5f2f9e color has a hue of 265.9 degrees, a saturation of 54.15% and a lightness of 40.2%.
#5f2f9e hex color contains mainly BLUE.
The closest web safe color of #5f2f9e is #663399
#5f2f9e hex color has a decimal value of 6238110.
HEX | 5f2f9e | #5f2f9e |
---|---|---|
RGB | 95, 47, 158 | rgb(95, 47, 158) |
RGB Percent | 37.25, 18.43, 61.96 | rgb(37.25, 18.43, 61.96) |
CMYK | 40, 70, 0, 38 | |
HSL | 265.9°, 54.15, 40.2 | hsl(265.9, 54.15%, 40.2%) |
HSV | 265.9°, 70.3, 62 |
XYZ | 11.907, 6.935, 33.059 |
---|---|
Hunter Lab | 26.334, 34.623, -55.996 |
CIE-LAB | 31.658, 44.759, -52.253 |
CIE-LCH | 31.658, 68.802, 310.583 |
CIE-LUV | 39.87, 70.25, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #5f2f9e
CMYK percent of color #5f2f9e
Text with hexadecimal color #5f2f9e
This text has a font color of #5f2f9e
<p style="color:#5f2f9e">Text here</p>
#5f2f9e Background Color
This box has a background color of #5f2f9e
<div style="background-color:#5f2f9e">Text here</div>
#5f2f9e Border Color
This box has a border color of #5f2f9e
<div style="border: 4px solid #5f2f9e">Text here</div>
CSS codes
<p style="color:#5f2f9e">Text here</p>
<div style="background-color:#5f2f9e">Text here</div>
<div style="border: 4px solid #5f2f9e">Text here</div>
#5f2f9e Color on white background
This is how a font and box color of #5f2f9e will look
on a white background.
#5f2f9e Color on black background
This is how a font and box color of #5f2f9e hex color will look
on a black background.