In RGB color space, #5a2e7a hex color has a red value of 90, a green value of 46 and a blue value of 122.
In CMYK color space (used in color printing), #5a2e7a hex color is composed of 26.23% cyan, 62.3% magenta, 0% yellow and 52.16% black.
#5a2e7a color has a hue of 274.7 degrees, a saturation of 45.24% and a lightness of 32.9%.
#5a2e7a hex color contains mainly BLUE.
The closest web safe color of #5a2e7a is #663366
#5a2e7a hex color has a decimal value of 5910138.
HEX | 5a2e7a | #5a2e7a |
---|---|---|
RGB | 90, 46, 122 | rgb(90, 46, 122) |
RGB Percent | 35.29, 18.04, 47.84 | rgb(35.29, 18.04, 47.84) |
CMYK | 26, 62, 0, 52 | |
HSL | 274.7°, 45.24, 32.9 | hsl(274.7, 45.24%, 32.9%) |
HSV | 274.7°, 62.3, 47.8 |
XYZ | 8.706, 5.533, 19.021 |
---|---|
Hunter Lab | 23.522, 24.902, -31.478 |
CIE-LAB | 28.202, 34.86, -35.592 |
CIE-LCH | 28.202, 49.82, 314.405 |
CIE-LUV | 26.23, 62.3, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5a2e7a
CMYK percent of color #5a2e7a
Text with hexadecimal color #5a2e7a
This text has a font color of #5a2e7a
<p style="color:#5a2e7a">Text here</p>
#5a2e7a Background Color
This box has a background color of #5a2e7a
<div style="background-color:#5a2e7a">Text here</div>
#5a2e7a Border Color
This box has a border color of #5a2e7a
<div style="border: 4px solid #5a2e7a">Text here</div>
CSS codes
<p style="color:#5a2e7a">Text here</p>
<div style="background-color:#5a2e7a">Text here</div>
<div style="border: 4px solid #5a2e7a">Text here</div>
#5a2e7a Color on white background
This is how a font and box color of #5a2e7a will look
on a white background.
#5a2e7a Color on black background
This is how a font and box color of #5a2e7a hex color will look
on a black background.