In RGB color space, #5a2c8c hex color has a red value of 90, a green value of 44 and a blue value of 140.
In CMYK color space (used in color printing), #5a2c8c hex color is composed of 35.71% cyan, 68.57% magenta, 0% yellow and 45.1% black.
#5a2c8c color has a hue of 268.8 degrees, a saturation of 52.17% and a lightness of 36.1%.
#5a2c8c hex color contains mainly BLUE.
The closest web safe color of #5a2c8c is #663399
#5a2c8c hex color has a decimal value of 5909644.
HEX | 5a2c8c | #5a2c8c |
---|---|---|
RGB | 90, 44, 140 | rgb(90, 44, 140) |
RGB Percent | 35.29, 17.25, 54.9 | rgb(35.29, 17.25, 54.9) |
CMYK | 36, 69, 0, 45 | |
HSL | 268.8°, 52.17, 36.1 | hsl(268.8, 52.17%, 36.1%) |
HSV | 268.8°, 68.6, 54.9 |
XYZ | 9.851, 5.868, 25.424 |
---|---|
Hunter Lab | 24.224, 30.198, -45.27 |
CIE-LAB | 29.077, 40.567, -45.438 |
CIE-LCH | 29.077, 60.912, 311.758 |
CIE-LUV | 35.71, 68.57, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5a2c8c
CMYK percent of color #5a2c8c
Text with hexadecimal color #5a2c8c
This text has a font color of #5a2c8c
<p style="color:#5a2c8c">Text here</p>
#5a2c8c Background Color
This box has a background color of #5a2c8c
<div style="background-color:#5a2c8c">Text here</div>
#5a2c8c Border Color
This box has a border color of #5a2c8c
<div style="border: 4px solid #5a2c8c">Text here</div>
CSS codes
<p style="color:#5a2c8c">Text here</p>
<div style="background-color:#5a2c8c">Text here</div>
<div style="border: 4px solid #5a2c8c">Text here</div>
#5a2c8c Color on white background
This is how a font and box color of #5a2c8c will look
on a white background.
#5a2c8c Color on black background
This is how a font and box color of #5a2c8c hex color will look
on a black background.