In RGB color space, #5a4f9f hex color has a red value of 90, a green value of 79 and a blue value of 159.
In CMYK color space (used in color printing), #5a4f9f hex color is composed of 43.4% cyan, 50.31% magenta, 0% yellow and 37.65% black.
#5a4f9f color has a hue of 248.3 degrees, a saturation of 33.61% and a lightness of 46.7%.
#5a4f9f hex color contains mainly BLUE.
The closest web safe color of #5a4f9f is #666699
#5a4f9f hex color has a decimal value of 5918623.
HEX | 5a4f9f | #5a4f9f |
---|---|---|
RGB | 90, 79, 159 | rgb(90, 79, 159) |
RGB Percent | 35.29, 30.98, 62.35 | rgb(35.29, 30.98, 62.35) |
CMYK | 43, 50, 0, 38 | |
HSL | 248.3°, 33.61, 46.7 | hsl(248.3, 33.61%, 46.7%) |
HSV | 248.3°, 50.3, 62.4 |
XYZ | 13.27, 10.269, 34.084 |
---|---|
Hunter Lab | 32.045, 17.838, -40.63 |
CIE-LAB | 38.321, 25.245, -42.141 |
CIE-LCH | 38.321, 49.124, 300.924 |
CIE-LUV | 43.4, 50.31, 0, 37.65 |
Web Safe | 666699 |
RGB percent of color #5a4f9f
CMYK percent of color #5a4f9f
Text with hexadecimal color #5a4f9f
This text has a font color of #5a4f9f
<p style="color:#5a4f9f">Text here</p>
#5a4f9f Background Color
This box has a background color of #5a4f9f
<div style="background-color:#5a4f9f">Text here</div>
#5a4f9f Border Color
This box has a border color of #5a4f9f
<div style="border: 4px solid #5a4f9f">Text here</div>
CSS codes
<p style="color:#5a4f9f">Text here</p>
<div style="background-color:#5a4f9f">Text here</div>
<div style="border: 4px solid #5a4f9f">Text here</div>
#5a4f9f Color on white background
This is how a font and box color of #5a4f9f will look
on a white background.
#5a4f9f Color on black background
This is how a font and box color of #5a4f9f hex color will look
on a black background.