In RGB color space, #5a2d7f hex color has a red value of 90, a green value of 45 and a blue value of 127.
In CMYK color space (used in color printing), #5a2d7f hex color is composed of 29.13% cyan, 64.57% magenta, 0% yellow and 50.2% black.
#5a2d7f color has a hue of 272.9 degrees, a saturation of 47.67% and a lightness of 33.7%.
#5a2d7f hex color contains mainly BLUE.
The closest web safe color of #5a2d7f is #663366
#5a2d7f hex color has a decimal value of 5909887.
HEX | 5a2d7f | #5a2d7f |
---|---|---|
RGB | 90, 45, 127 | rgb(90, 45, 127) |
RGB Percent | 35.29, 17.65, 49.8 | rgb(35.29, 17.65, 49.8) |
CMYK | 29, 65, 0, 50 | |
HSL | 272.9°, 47.67, 33.7 | hsl(272.9, 47.67%, 33.7%) |
HSV | 272.9°, 64.6, 49.8 |
XYZ | 8.986, 5.583, 20.683 |
---|---|
Hunter Lab | 23.628, 26.535, -35.359 |
CIE-LAB | 28.335, 36.679, -38.529 |
CIE-LCH | 28.335, 53.196, 313.591 |
CIE-LUV | 29.13, 64.57, 0, 50.2 |
Web Safe | 663366 |
RGB percent of color #5a2d7f
CMYK percent of color #5a2d7f
Text with hexadecimal color #5a2d7f
This text has a font color of #5a2d7f
<p style="color:#5a2d7f">Text here</p>
#5a2d7f Background Color
This box has a background color of #5a2d7f
<div style="background-color:#5a2d7f">Text here</div>
#5a2d7f Border Color
This box has a border color of #5a2d7f
<div style="border: 4px solid #5a2d7f">Text here</div>
CSS codes
<p style="color:#5a2d7f">Text here</p>
<div style="background-color:#5a2d7f">Text here</div>
<div style="border: 4px solid #5a2d7f">Text here</div>
#5a2d7f Color on white background
This is how a font and box color of #5a2d7f will look
on a white background.
#5a2d7f Color on black background
This is how a font and box color of #5a2d7f hex color will look
on a black background.