In RGB color space, #5a2d8e hex color has a red value of 90, a green value of 45 and a blue value of 142.
In CMYK color space (used in color printing), #5a2d8e hex color is composed of 36.62% cyan, 68.31% magenta, 0% yellow and 44.31% black.
#5a2d8e color has a hue of 267.8 degrees, a saturation of 51.87% and a lightness of 36.7%.
#5a2d8e hex color contains mainly BLUE.
The closest web safe color of #5a2d8e is #663399
#5a2d8e hex color has a decimal value of 5909902.
HEX | 5a2d8e | #5a2d8e |
---|---|---|
RGB | 90, 45, 142 | rgb(90, 45, 142) |
RGB Percent | 35.29, 17.65, 55.69 | rgb(35.29, 17.65, 55.69) |
CMYK | 37, 68, 0, 44 | |
HSL | 267.8°, 51.87, 36.7 | hsl(267.8, 51.87%, 36.7%) |
HSV | 267.8°, 68.3, 55.7 |
XYZ | 10.037, 6.003, 26.221 |
---|---|
Hunter Lab | 24.501, 30.247, -46.301 |
CIE-LAB | 29.42, 40.557, -46.12 |
CIE-LCH | 29.42, 61.416, 311.328 |
CIE-LUV | 36.62, 68.31, 0, 44.31 |
Web Safe | 663399 |
RGB percent of color #5a2d8e
CMYK percent of color #5a2d8e
Text with hexadecimal color #5a2d8e
This text has a font color of #5a2d8e
<p style="color:#5a2d8e">Text here</p>
#5a2d8e Background Color
This box has a background color of #5a2d8e
<div style="background-color:#5a2d8e">Text here</div>
#5a2d8e Border Color
This box has a border color of #5a2d8e
<div style="border: 4px solid #5a2d8e">Text here</div>
CSS codes
<p style="color:#5a2d8e">Text here</p>
<div style="background-color:#5a2d8e">Text here</div>
<div style="border: 4px solid #5a2d8e">Text here</div>
#5a2d8e Color on white background
This is how a font and box color of #5a2d8e will look
on a white background.
#5a2d8e Color on black background
This is how a font and box color of #5a2d8e hex color will look
on a black background.