In RGB color space, #5f2f8c hex color has a red value of 95, a green value of 47 and a blue value of 140.
In CMYK color space (used in color printing), #5f2f8c hex color is composed of 32.14% cyan, 66.43% magenta, 0% yellow and 45.1% black.
#5f2f8c color has a hue of 271 degrees, a saturation of 49.73% and a lightness of 36.7%.
#5f2f8c hex color contains mainly BLUE.
The closest web safe color of #5f2f8c is #663399
#5f2f8c hex color has a decimal value of 6238092.
HEX | 5f2f8c | #5f2f8c |
---|---|---|
RGB | 95, 47, 140 | rgb(95, 47, 140) |
RGB Percent | 37.25, 18.43, 54.9 | rgb(37.25, 18.43, 54.9) |
CMYK | 32, 66, 0, 45 | |
HSL | 271°, 49.73, 36.7 | hsl(271, 49.73%, 36.7%) |
HSV | 271°, 66.4, 54.9 |
XYZ | 10.469, 6.359, 25.487 |
---|---|
Hunter Lab | 25.217, 29.975, -42.273 |
CIE-LAB | 30.301, 40.105, -43.43 |
CIE-LCH | 30.301, 59.115, 312.721 |
CIE-LUV | 32.14, 66.43, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5f2f8c
CMYK percent of color #5f2f8c
Text with hexadecimal color #5f2f8c
This text has a font color of #5f2f8c
<p style="color:#5f2f8c">Text here</p>
#5f2f8c Background Color
This box has a background color of #5f2f8c
<div style="background-color:#5f2f8c">Text here</div>
#5f2f8c Border Color
This box has a border color of #5f2f8c
<div style="border: 4px solid #5f2f8c">Text here</div>
CSS codes
<p style="color:#5f2f8c">Text here</p>
<div style="background-color:#5f2f8c">Text here</div>
<div style="border: 4px solid #5f2f8c">Text here</div>
#5f2f8c Color on white background
This is how a font and box color of #5f2f8c will look
on a white background.
#5f2f8c Color on black background
This is how a font and box color of #5f2f8c hex color will look
on a black background.