In RGB color space, #5a2d71 hex color has a red value of 90, a green value of 45 and a blue value of 113.
In CMYK color space (used in color printing), #5a2d71 hex color is composed of 20.35% cyan, 60.18% magenta, 0% yellow and 55.69% black.
#5a2d71 color has a hue of 279.7 degrees, a saturation of 43.04% and a lightness of 31%.
#5a2d71 hex color contains mainly BLUE.
The closest web safe color of #5a2d71 is #663366
#5a2d71 hex color has a decimal value of 5909873.
HEX | 5a2d71 | #5a2d71 |
---|---|---|
RGB | 90, 45, 113 | rgb(90, 45, 113) |
RGB Percent | 35.29, 17.65, 44.31 | rgb(35.29, 17.65, 44.31) |
CMYK | 20, 60, 0, 56 | |
HSL | 279.7°, 43.04, 31 | hsl(279.7, 43.04%, 31%) |
HSV | 279.7°, 60.2, 44.3 |
XYZ | 8.135, 5.243, 16.206 |
---|---|
Hunter Lab | 22.898, 23.346, -25.935 |
CIE-LAB | 27.416, 33.21, -31.135 |
CIE-LCH | 27.416, 45.522, 316.847 |
CIE-LUV | 20.35, 60.18, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5a2d71
CMYK percent of color #5a2d71
Text with hexadecimal color #5a2d71
This text has a font color of #5a2d71
<p style="color:#5a2d71">Text here</p>
#5a2d71 Background Color
This box has a background color of #5a2d71
<div style="background-color:#5a2d71">Text here</div>
#5a2d71 Border Color
This box has a border color of #5a2d71
<div style="border: 4px solid #5a2d71">Text here</div>
CSS codes
<p style="color:#5a2d71">Text here</p>
<div style="background-color:#5a2d71">Text here</div>
<div style="border: 4px solid #5a2d71">Text here</div>
#5a2d71 Color on white background
This is how a font and box color of #5a2d71 will look
on a white background.
#5a2d71 Color on black background
This is how a font and box color of #5a2d71 hex color will look
on a black background.