In RGB color space, #5a2f66 hex color has a red value of 90, a green value of 47 and a blue value of 102.
In CMYK color space (used in color printing), #5a2f66 hex color is composed of 11.76% cyan, 53.92% magenta, 0% yellow and 60% black.
#5a2f66 color has a hue of 286.9 degrees, a saturation of 36.91% and a lightness of 29.2%.
#5a2f66 hex color contains mainly BLUE.
The closest web safe color of #5a2f66 is #663366
#5a2f66 hex color has a decimal value of 5910374.
HEX | 5a2f66 | #5a2f66 |
---|---|---|
RGB | 90, 47, 102 | rgb(90, 47, 102) |
RGB Percent | 35.29, 18.43, 40 | rgb(35.29, 18.43, 40) |
CMYK | 12, 54, 0, 60 | |
HSL | 286.9°, 36.91, 29.2 | hsl(286.9, 36.91%, 29.2%) |
HSV | 286.9°, 53.9, 40 |
XYZ | 7.631, 5.166, 13.165 |
---|---|
Hunter Lab | 22.729, 20.154, -18.432 |
CIE-LAB | 27.203, 29.483, -24.41 |
CIE-LCH | 27.203, 38.277, 320.377 |
CIE-LUV | 11.76, 53.92, 0, 60 |
Web Safe | 663366 |
RGB percent of color #5a2f66
CMYK percent of color #5a2f66
Text with hexadecimal color #5a2f66
This text has a font color of #5a2f66
<p style="color:#5a2f66">Text here</p>
#5a2f66 Background Color
This box has a background color of #5a2f66
<div style="background-color:#5a2f66">Text here</div>
#5a2f66 Border Color
This box has a border color of #5a2f66
<div style="border: 4px solid #5a2f66">Text here</div>
CSS codes
<p style="color:#5a2f66">Text here</p>
<div style="background-color:#5a2f66">Text here</div>
<div style="border: 4px solid #5a2f66">Text here</div>
#5a2f66 Color on white background
This is how a font and box color of #5a2f66 will look
on a white background.
#5a2f66 Color on black background
This is how a font and box color of #5a2f66 hex color will look
on a black background.