In RGB color space, #5a2e8b hex color has a red value of 90, a green value of 46 and a blue value of 139.
In CMYK color space (used in color printing), #5a2e8b hex color is composed of 35.25% cyan, 66.91% magenta, 0% yellow and 45.49% black.
#5a2e8b color has a hue of 268.4 degrees, a saturation of 50.27% and a lightness of 36.3%.
#5a2e8b hex color contains mainly BLUE.
The closest web safe color of #5a2e8b is #663399
#5a2e8b hex color has a decimal value of 5910155.
HEX | 5a2e8b | #5a2e8b |
---|---|---|
RGB | 90, 46, 139 | rgb(90, 46, 139) |
RGB Percent | 35.29, 18.04, 54.51 | rgb(35.29, 18.04, 54.51) |
CMYK | 35, 67, 0, 45 | |
HSL | 268.4°, 50.27, 36.3 | hsl(268.4, 50.27%, 36.3%) |
HSV | 268.4°, 66.9, 54.5 |
XYZ | 9.854, 5.992, 25.063 |
---|---|
Hunter Lab | 24.479, 29.019, -43.571 |
CIE-LAB | 29.392, 39.232, -44.308 |
CIE-LCH | 29.392, 59.181, 311.523 |
CIE-LUV | 35.25, 66.91, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a2e8b
CMYK percent of color #5a2e8b
Text with hexadecimal color #5a2e8b
This text has a font color of #5a2e8b
<p style="color:#5a2e8b">Text here</p>
#5a2e8b Background Color
This box has a background color of #5a2e8b
<div style="background-color:#5a2e8b">Text here</div>
#5a2e8b Border Color
This box has a border color of #5a2e8b
<div style="border: 4px solid #5a2e8b">Text here</div>
CSS codes
<p style="color:#5a2e8b">Text here</p>
<div style="background-color:#5a2e8b">Text here</div>
<div style="border: 4px solid #5a2e8b">Text here</div>
#5a2e8b Color on white background
This is how a font and box color of #5a2e8b will look
on a white background.
#5a2e8b Color on black background
This is how a font and box color of #5a2e8b hex color will look
on a black background.