In RGB color space, #5a2f9c hex color has a red value of 90, a green value of 47 and a blue value of 156.
In CMYK color space (used in color printing), #5a2f9c hex color is composed of 42.31% cyan, 69.87% magenta, 0% yellow and 38.82% black.
#5a2f9c color has a hue of 263.7 degrees, a saturation of 53.69% and a lightness of 39.8%.
#5a2f9c hex color contains mainly BLUE.
The closest web safe color of #5a2f9c is #663399
#5a2f9c hex color has a decimal value of 5910428.
HEX | 5a2f9c | #5a2f9c |
---|---|---|
RGB | 90, 47, 156 | rgb(90, 47, 156) |
RGB Percent | 35.29, 18.43, 61.18 | rgb(35.29, 18.43, 61.18) |
CMYK | 42, 70, 0, 39 | |
HSL | 263.7°, 53.69, 39.8 | hsl(263.7, 53.69%, 39.8%) |
HSV | 263.7°, 69.9, 61.2 |
XYZ | 11.234, 6.607, 32.136 |
---|---|
Hunter Lab | 25.704, 33.031, -56.133 |
CIE-LAB | 30.895, 43.244, -52.307 |
CIE-LCH | 30.895, 67.868, 309.582 |
CIE-LUV | 42.31, 69.87, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #5a2f9c
CMYK percent of color #5a2f9c
Text with hexadecimal color #5a2f9c
This text has a font color of #5a2f9c
<p style="color:#5a2f9c">Text here</p>
#5a2f9c Background Color
This box has a background color of #5a2f9c
<div style="background-color:#5a2f9c">Text here</div>
#5a2f9c Border Color
This box has a border color of #5a2f9c
<div style="border: 4px solid #5a2f9c">Text here</div>
CSS codes
<p style="color:#5a2f9c">Text here</p>
<div style="background-color:#5a2f9c">Text here</div>
<div style="border: 4px solid #5a2f9c">Text here</div>
#5a2f9c Color on white background
This is how a font and box color of #5a2f9c will look
on a white background.
#5a2f9c Color on black background
This is how a font and box color of #5a2f9c hex color will look
on a black background.