In RGB color space, #5f2a7a hex color has a red value of 95, a green value of 42 and a blue value of 122.
In CMYK color space (used in color printing), #5f2a7a hex color is composed of 22.13% cyan, 65.57% magenta, 0% yellow and 52.16% black.
#5f2a7a color has a hue of 279.8 degrees, a saturation of 48.78% and a lightness of 32.2%.
#5f2a7a hex color contains mainly BLUE.
The closest web safe color of #5f2a7a is #663366
#5f2a7a hex color has a decimal value of 6236794.
HEX | 5f2a7a | #5f2a7a |
---|---|---|
RGB | 95, 42, 122 | rgb(95, 42, 122) |
RGB Percent | 37.25, 16.47, 47.84 | rgb(37.25, 16.47, 47.84) |
CMYK | 22, 66, 0, 52 | |
HSL | 279.8°, 48.78, 32.2 | hsl(279.8, 48.78%, 32.2%) |
HSV | 279.8°, 65.6, 47.8 |
XYZ | 9.06, 5.494, 18.995 |
---|---|
Hunter Lab | 23.439, 27.977, -31.641 |
CIE-LAB | 28.098, 38.324, -35.721 |
CIE-LCH | 28.098, 52.39, 317.013 |
CIE-LUV | 22.13, 65.57, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5f2a7a
CMYK percent of color #5f2a7a
Text with hexadecimal color #5f2a7a
This text has a font color of #5f2a7a
<p style="color:#5f2a7a">Text here</p>
#5f2a7a Background Color
This box has a background color of #5f2a7a
<div style="background-color:#5f2a7a">Text here</div>
#5f2a7a Border Color
This box has a border color of #5f2a7a
<div style="border: 4px solid #5f2a7a">Text here</div>
CSS codes
<p style="color:#5f2a7a">Text here</p>
<div style="background-color:#5f2a7a">Text here</div>
<div style="border: 4px solid #5f2a7a">Text here</div>
#5f2a7a Color on white background
This is how a font and box color of #5f2a7a will look
on a white background.
#5f2a7a Color on black background
This is how a font and box color of #5f2a7a hex color will look
on a black background.