In RGB color space, #5a2c8d hex color has a red value of 90, a green value of 44 and a blue value of 141.
In CMYK color space (used in color printing), #5a2c8d hex color is composed of 36.17% cyan, 68.79% magenta, 0% yellow and 44.71% black.
#5a2c8d color has a hue of 268.5 degrees, a saturation of 52.43% and a lightness of 36.3%.
#5a2c8d hex color contains mainly BLUE.
The closest web safe color of #5a2c8d is #663399
#5a2c8d hex color has a decimal value of 5909645.
HEX | 5a2c8d | #5a2c8d |
---|---|---|
RGB | 90, 44, 141 | rgb(90, 44, 141) |
RGB Percent | 35.29, 17.25, 55.29 | rgb(35.29, 17.25, 55.29) |
CMYK | 36, 69, 0, 45 | |
HSL | 268.5°, 52.43, 36.3 | hsl(268.5, 52.43%, 36.3%) |
HSV | 268.5°, 68.8, 55.3 |
XYZ | 9.925, 5.898, 25.815 |
---|---|
Hunter Lab | 24.286, 30.448, -46.023 |
CIE-LAB | 29.154, 40.823, -45.934 |
CIE-LCH | 29.154, 61.453, 311.629 |
CIE-LUV | 36.17, 68.79, 0, 44.71 |
Web Safe | 663399 |
RGB percent of color #5a2c8d
CMYK percent of color #5a2c8d
Text with hexadecimal color #5a2c8d
This text has a font color of #5a2c8d
<p style="color:#5a2c8d">Text here</p>
#5a2c8d Background Color
This box has a background color of #5a2c8d
<div style="background-color:#5a2c8d">Text here</div>
#5a2c8d Border Color
This box has a border color of #5a2c8d
<div style="border: 4px solid #5a2c8d">Text here</div>
CSS codes
<p style="color:#5a2c8d">Text here</p>
<div style="background-color:#5a2c8d">Text here</div>
<div style="border: 4px solid #5a2c8d">Text here</div>
#5a2c8d Color on white background
This is how a font and box color of #5a2c8d will look
on a white background.
#5a2c8d Color on black background
This is how a font and box color of #5a2c8d hex color will look
on a black background.