In RGB color space, #5f2a8c hex color has a red value of 95, a green value of 42 and a blue value of 140.
In CMYK color space (used in color printing), #5f2a8c hex color is composed of 32.14% cyan, 70% magenta, 0% yellow and 45.1% black.
#5f2a8c color has a hue of 272.4 degrees, a saturation of 53.85% and a lightness of 35.7%.
#5f2a8c hex color contains mainly BLUE.
The closest web safe color of #5f2a8c is #663399
#5f2a8c hex color has a decimal value of 6236812.
HEX | 5f2a8c | #5f2a8c |
---|---|---|
RGB | 95, 42, 140 | rgb(95, 42, 140) |
RGB Percent | 37.25, 16.47, 54.9 | rgb(37.25, 16.47, 54.9) |
CMYK | 32, 70, 0, 45 | |
HSL | 272.4°, 53.85, 35.7 | hsl(272.4, 53.85%, 35.7%) |
HSV | 272.4°, 70, 54.9 |
XYZ | 10.281, 5.982, 25.424 |
---|---|
Hunter Lab | 24.458, 32.231, -44.511 |
CIE-LAB | 29.367, 42.686, -44.938 |
CIE-LCH | 29.367, 61.98, 313.528 |
CIE-LUV | 32.14, 70, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5f2a8c
CMYK percent of color #5f2a8c
Text with hexadecimal color #5f2a8c
This text has a font color of #5f2a8c
<p style="color:#5f2a8c">Text here</p>
#5f2a8c Background Color
This box has a background color of #5f2a8c
<div style="background-color:#5f2a8c">Text here</div>
#5f2a8c Border Color
This box has a border color of #5f2a8c
<div style="border: 4px solid #5f2a8c">Text here</div>
CSS codes
<p style="color:#5f2a8c">Text here</p>
<div style="background-color:#5f2a8c">Text here</div>
<div style="border: 4px solid #5f2a8c">Text here</div>
#5f2a8c Color on white background
This is how a font and box color of #5f2a8c will look
on a white background.
#5f2a8c Color on black background
This is how a font and box color of #5f2a8c hex color will look
on a black background.