In RGB color space, #5f2f9f hex color has a red value of 95, a green value of 47 and a blue value of 159.
In CMYK color space (used in color printing), #5f2f9f hex color is composed of 40.25% cyan, 70.44% magenta, 0% yellow and 37.65% black.
#5f2f9f color has a hue of 265.7 degrees, a saturation of 54.37% and a lightness of 40.4%.
#5f2f9f hex color contains mainly BLUE.
The closest web safe color of #5f2f9f is #663399
#5f2f9f hex color has a decimal value of 6238111.
HEX | 5f2f9f | #5f2f9f |
---|---|---|
RGB | 95, 47, 159 | rgb(95, 47, 159) |
RGB Percent | 37.25, 18.43, 62.35 | rgb(37.25, 18.43, 62.35) |
CMYK | 40, 70, 0, 38 | |
HSL | 265.7°, 54.37, 40.4 | hsl(265.7, 54.37%, 40.4%) |
HSV | 265.7°, 70.4, 62.4 |
XYZ | 11.994, 6.969, 33.514 |
---|---|
Hunter Lab | 26.399, 34.901, -56.791 |
CIE-LAB | 31.736, 45.031, -52.733 |
CIE-LCH | 31.736, 69.344, 310.495 |
CIE-LUV | 40.25, 70.44, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #5f2f9f
CMYK percent of color #5f2f9f
Text with hexadecimal color #5f2f9f
This text has a font color of #5f2f9f
<p style="color:#5f2f9f">Text here</p>
#5f2f9f Background Color
This box has a background color of #5f2f9f
<div style="background-color:#5f2f9f">Text here</div>
#5f2f9f Border Color
This box has a border color of #5f2f9f
<div style="border: 4px solid #5f2f9f">Text here</div>
CSS codes
<p style="color:#5f2f9f">Text here</p>
<div style="background-color:#5f2f9f">Text here</div>
<div style="border: 4px solid #5f2f9f">Text here</div>
#5f2f9f Color on white background
This is how a font and box color of #5f2f9f will look
on a white background.
#5f2f9f Color on black background
This is how a font and box color of #5f2f9f hex color will look
on a black background.