In RGB color space, #5a4f7d hex color has a red value of 90, a green value of 79 and a blue value of 125.
In CMYK color space (used in color printing), #5a4f7d hex color is composed of 28% cyan, 36.8% magenta, 0% yellow and 50.98% black.
#5a4f7d color has a hue of 254.3 degrees, a saturation of 22.55% and a lightness of 40%.
#5a4f7d hex color contains mainly BLUE.
The closest web safe color of #5a4f7d is #666666
#5a4f7d hex color has a decimal value of 5918589.
HEX | 5a4f7d | #5a4f7d |
---|---|---|
RGB | 90, 79, 125 | rgb(90, 79, 125) |
RGB Percent | 35.29, 30.98, 49.02 | rgb(35.29, 30.98, 49.02) |
CMYK | 28, 37, 0, 51 | |
HSL | 254.3°, 22.55, 40 | hsl(254.3, 22.55%, 40%) |
HSV | 254.3°, 36.8, 49 |
XYZ | 10.714, 9.246, 20.622 |
---|---|
Hunter Lab | 30.407, 9.682, -18.925 |
CIE-LAB | 36.454, 15.438, -24.419 |
CIE-LCH | 36.454, 28.89, 302.302 |
CIE-LUV | 28, 36.8, 0, 50.98 |
Web Safe | 666666 |
RGB percent of color #5a4f7d
CMYK percent of color #5a4f7d
Text with hexadecimal color #5a4f7d
This text has a font color of #5a4f7d
<p style="color:#5a4f7d">Text here</p>
#5a4f7d Background Color
This box has a background color of #5a4f7d
<div style="background-color:#5a4f7d">Text here</div>
#5a4f7d Border Color
This box has a border color of #5a4f7d
<div style="border: 4px solid #5a4f7d">Text here</div>
CSS codes
<p style="color:#5a4f7d">Text here</p>
<div style="background-color:#5a4f7d">Text here</div>
<div style="border: 4px solid #5a4f7d">Text here</div>
#5a4f7d Color on white background
This is how a font and box color of #5a4f7d will look
on a white background.
#5a4f7d Color on black background
This is how a font and box color of #5a4f7d hex color will look
on a black background.