In RGB color space, #5a4c8b hex color has a red value of 90, a green value of 76 and a blue value of 139.
In CMYK color space (used in color printing), #5a4c8b hex color is composed of 35.25% cyan, 45.32% magenta, 0% yellow and 45.49% black.
#5a4c8b color has a hue of 253.3 degrees, a saturation of 29.3% and a lightness of 42.2%.
#5a4c8b hex color contains mainly BLUE.
The closest web safe color of #5a4c8b is #663399
#5a4c8b hex color has a decimal value of 5917835.
HEX | 5a4c8b | #5a4c8b |
---|---|---|
RGB | 90, 76, 139 | rgb(90, 76, 139) |
RGB Percent | 35.29, 29.8, 54.51 | rgb(35.29, 29.8, 54.51) |
CMYK | 35, 45, 0, 45 | |
HSL | 253.3°, 29.3, 42.2 | hsl(253.3, 29.3%, 42.2%) |
HSV | 253.3°, 45.3, 54.5 |
XYZ | 11.461, 9.207, 25.599 |
---|---|
Hunter Lab | 30.343, 14.322, -28.78 |
CIE-LAB | 36.38, 21.244, -33.129 |
CIE-LCH | 36.38, 39.355, 302.67 |
CIE-LUV | 35.25, 45.32, 0, 45.49 |
Web Safe | 663399 |
RGB percent of color #5a4c8b
CMYK percent of color #5a4c8b
Text with hexadecimal color #5a4c8b
This text has a font color of #5a4c8b
<p style="color:#5a4c8b">Text here</p>
#5a4c8b Background Color
This box has a background color of #5a4c8b
<div style="background-color:#5a4c8b">Text here</div>
#5a4c8b Border Color
This box has a border color of #5a4c8b
<div style="border: 4px solid #5a4c8b">Text here</div>
CSS codes
<p style="color:#5a4c8b">Text here</p>
<div style="background-color:#5a4c8b">Text here</div>
<div style="border: 4px solid #5a4c8b">Text here</div>
#5a4c8b Color on white background
This is how a font and box color of #5a4c8b will look
on a white background.
#5a4c8b Color on black background
This is how a font and box color of #5a4c8b hex color will look
on a black background.