In RGB color space, #5f2a71 hex color has a red value of 95, a green value of 42 and a blue value of 113.
In CMYK color space (used in color printing), #5f2a71 hex color is composed of 15.93% cyan, 62.83% magenta, 0% yellow and 55.69% black.
#5f2a71 color has a hue of 284.8 degrees, a saturation of 45.81% and a lightness of 30.4%.
#5f2a71 hex color contains mainly BLUE.
The closest web safe color of #5f2a71 is #663366
#5f2a71 hex color has a decimal value of 6236785.
HEX | 5f2a71 | #5f2a71 |
---|---|---|
RGB | 95, 42, 113 | rgb(95, 42, 113) |
RGB Percent | 37.25, 16.47, 44.31 | rgb(37.25, 16.47, 44.31) |
CMYK | 16, 63, 0, 56 | |
HSL | 284.8°, 45.81, 30.4 | hsl(284.8, 45.81%, 30.4%) |
HSV | 284.8°, 62.8, 44.3 |
XYZ | 8.528, 5.281, 16.193 |
---|---|
Hunter Lab | 22.98, 26.025, -25.692 |
CIE-LAB | 27.521, 36.251, -30.927 |
CIE-LCH | 27.521, 47.651, 319.531 |
CIE-LUV | 15.93, 62.83, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5f2a71
CMYK percent of color #5f2a71
Text with hexadecimal color #5f2a71
This text has a font color of #5f2a71
<p style="color:#5f2a71">Text here</p>
#5f2a71 Background Color
This box has a background color of #5f2a71
<div style="background-color:#5f2a71">Text here</div>
#5f2a71 Border Color
This box has a border color of #5f2a71
<div style="border: 4px solid #5f2a71">Text here</div>
CSS codes
<p style="color:#5f2a71">Text here</p>
<div style="background-color:#5f2a71">Text here</div>
<div style="border: 4px solid #5f2a71">Text here</div>
#5f2a71 Color on white background
This is how a font and box color of #5f2a71 will look
on a white background.
#5f2a71 Color on black background
This is how a font and box color of #5f2a71 hex color will look
on a black background.