In RGB color space, #5a4e8a hex color has a red value of 90, a green value of 78 and a blue value of 138.
In CMYK color space (used in color printing), #5a4e8a hex color is composed of 34.78% cyan, 43.48% magenta, 0% yellow and 45.88% black.
#5a4e8a color has a hue of 252 degrees, a saturation of 27.78% and a lightness of 42.4%.
#5a4e8a hex color contains mainly BLUE.
The closest web safe color of #5a4e8a is #666699
#5a4e8a hex color has a decimal value of 5918346.
HEX | 5a4e8a | #5a4e8a |
---|---|---|
RGB | 90, 78, 138 | rgb(90, 78, 138) |
RGB Percent | 35.29, 30.59, 54.12 | rgb(35.29, 30.59, 54.12) |
CMYK | 35, 43, 0, 46 | |
HSL | 252°, 27.78, 42.4 | hsl(252, 27.78%, 42.4%) |
HSV | 252°, 43.5, 54.1 |
XYZ | 11.528, 9.457, 25.263 |
---|---|
Hunter Lab | 30.752, 13.097, -27.18 |
CIE-LAB | 36.85, 19.7, -31.776 |
CIE-LCH | 36.85, 37.387, 301.797 |
CIE-LUV | 34.78, 43.48, 0, 45.88 |
Web Safe | 666699 |
RGB percent of color #5a4e8a
CMYK percent of color #5a4e8a
Text with hexadecimal color #5a4e8a
This text has a font color of #5a4e8a
<p style="color:#5a4e8a">Text here</p>
#5a4e8a Background Color
This box has a background color of #5a4e8a
<div style="background-color:#5a4e8a">Text here</div>
#5a4e8a Border Color
This box has a border color of #5a4e8a
<div style="border: 4px solid #5a4e8a">Text here</div>
CSS codes
<p style="color:#5a4e8a">Text here</p>
<div style="background-color:#5a4e8a">Text here</div>
<div style="border: 4px solid #5a4e8a">Text here</div>
#5a4e8a Color on white background
This is how a font and box color of #5a4e8a will look
on a white background.
#5a4e8a Color on black background
This is how a font and box color of #5a4e8a hex color will look
on a black background.