In RGB color space, #5a4b9d hex color has a red value of 90, a green value of 75 and a blue value of 157.
In CMYK color space (used in color printing), #5a4b9d hex color is composed of 42.68% cyan, 52.23% magenta, 0% yellow and 38.43% black.
#5a4b9d color has a hue of 251 degrees, a saturation of 35.34% and a lightness of 45.5%.
#5a4b9d hex color contains mainly BLUE.
The closest web safe color of #5a4b9d is #663399
#5a4b9d hex color has a decimal value of 5917597.
HEX | 5a4b9d | #5a4b9d |
---|---|---|
RGB | 90, 75, 157 | rgb(90, 75, 157) |
RGB Percent | 35.29, 29.41, 61.57 | rgb(35.29, 29.41, 61.57) |
CMYK | 43, 52, 0, 38 | |
HSL | 251°, 35.34, 45.5 | hsl(251, 35.34%, 45.5%) |
HSV | 251°, 52.2, 61.6 |
XYZ | 12.818, 9.64, 33.083 |
---|---|
Hunter Lab | 31.048, 19.357, -41.442 |
CIE-LAB | 37.188, 27.147, -42.751 |
CIE-LCH | 37.188, 50.642, 302.416 |
CIE-LUV | 42.68, 52.23, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #5a4b9d
CMYK percent of color #5a4b9d
Text with hexadecimal color #5a4b9d
This text has a font color of #5a4b9d
<p style="color:#5a4b9d">Text here</p>
#5a4b9d Background Color
This box has a background color of #5a4b9d
<div style="background-color:#5a4b9d">Text here</div>
#5a4b9d Border Color
This box has a border color of #5a4b9d
<div style="border: 4px solid #5a4b9d">Text here</div>
CSS codes
<p style="color:#5a4b9d">Text here</p>
<div style="background-color:#5a4b9d">Text here</div>
<div style="border: 4px solid #5a4b9d">Text here</div>
#5a4b9d Color on white background
This is how a font and box color of #5a4b9d will look
on a white background.
#5a4b9d Color on black background
This is how a font and box color of #5a4b9d hex color will look
on a black background.