In RGB color space, #5f2a7d hex color has a red value of 95, a green value of 42 and a blue value of 125.
In CMYK color space (used in color printing), #5f2a7d hex color is composed of 24% cyan, 66.4% magenta, 0% yellow and 50.98% black.
#5f2a7d color has a hue of 278.3 degrees, a saturation of 49.7% and a lightness of 32.7%.
#5f2a7d hex color contains mainly BLUE.
The closest web safe color of #5f2a7d is #663366
#5f2a7d hex color has a decimal value of 6236797.
HEX | 5f2a7d | #5f2a7d |
---|---|---|
RGB | 95, 42, 125 | rgb(95, 42, 125) |
RGB Percent | 37.25, 16.47, 49.02 | rgb(37.25, 16.47, 49.02) |
CMYK | 24, 66, 0, 51 | |
HSL | 278.3°, 49.7, 32.7 | hsl(278.3, 49.7%, 32.7%) |
HSV | 278.3°, 66.4, 49 |
XYZ | 9.249, 5.569, 19.99 |
---|---|
Hunter Lab | 23.599, 28.661, -33.704 |
CIE-LAB | 28.298, 39.04, -37.295 |
CIE-LCH | 28.298, 53.991, 316.31 |
CIE-LUV | 24, 66.4, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #5f2a7d
CMYK percent of color #5f2a7d
Text with hexadecimal color #5f2a7d
This text has a font color of #5f2a7d
<p style="color:#5f2a7d">Text here</p>
#5f2a7d Background Color
This box has a background color of #5f2a7d
<div style="background-color:#5f2a7d">Text here</div>
#5f2a7d Border Color
This box has a border color of #5f2a7d
<div style="border: 4px solid #5f2a7d">Text here</div>
CSS codes
<p style="color:#5f2a7d">Text here</p>
<div style="background-color:#5f2a7d">Text here</div>
<div style="border: 4px solid #5f2a7d">Text here</div>
#5f2a7d Color on white background
This is how a font and box color of #5f2a7d will look
on a white background.
#5f2a7d Color on black background
This is how a font and box color of #5f2a7d hex color will look
on a black background.