In RGB color space, #5f2a7c hex color has a red value of 95, a green value of 42 and a blue value of 124.
In CMYK color space (used in color printing), #5f2a7c hex color is composed of 23.39% cyan, 66.13% magenta, 0% yellow and 51.37% black.
#5f2a7c color has a hue of 278.8 degrees, a saturation of 49.4% and a lightness of 32.5%.
#5f2a7c hex color contains mainly BLUE.
The closest web safe color of #5f2a7c is #663366
#5f2a7c hex color has a decimal value of 6236796.
HEX | 5f2a7c | #5f2a7c |
---|---|---|
RGB | 95, 42, 124 | rgb(95, 42, 124) |
RGB Percent | 37.25, 16.47, 48.63 | rgb(37.25, 16.47, 48.63) |
CMYK | 23, 66, 0, 51 | |
HSL | 278.8°, 49.4, 32.5 | hsl(278.8, 49.4%, 32.5%) |
HSV | 278.8°, 66.1, 48.6 |
XYZ | 9.185, 5.544, 19.655 |
---|---|
Hunter Lab | 23.546, 28.427, -33.011 |
CIE-LAB | 28.232, 38.794, -36.771 |
CIE-LCH | 28.232, 53.452, 316.534 |
CIE-LUV | 23.39, 66.13, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #5f2a7c
CMYK percent of color #5f2a7c
Text with hexadecimal color #5f2a7c
This text has a font color of #5f2a7c
<p style="color:#5f2a7c">Text here</p>
#5f2a7c Background Color
This box has a background color of #5f2a7c
<div style="background-color:#5f2a7c">Text here</div>
#5f2a7c Border Color
This box has a border color of #5f2a7c
<div style="border: 4px solid #5f2a7c">Text here</div>
CSS codes
<p style="color:#5f2a7c">Text here</p>
<div style="background-color:#5f2a7c">Text here</div>
<div style="border: 4px solid #5f2a7c">Text here</div>
#5f2a7c Color on white background
This is how a font and box color of #5f2a7c will look
on a white background.
#5f2a7c Color on black background
This is how a font and box color of #5f2a7c hex color will look
on a black background.