In RGB color space, #5a4f99 hex color has a red value of 90, a green value of 79 and a blue value of 153.
In CMYK color space (used in color printing), #5a4f99 hex color is composed of 41.18% cyan, 48.37% magenta, 0% yellow and 40% black.
#5a4f99 color has a hue of 248.9 degrees, a saturation of 31.9% and a lightness of 45.5%.
#5a4f99 hex color contains mainly BLUE.
The closest web safe color of #5a4f99 is #666699
#5a4f99 hex color has a decimal value of 5918617.
HEX | 5a4f99 | #5a4f99 |
---|---|---|
RGB | 90, 79, 153 | rgb(90, 79, 153) |
RGB Percent | 35.29, 30.98, 60 | rgb(35.29, 30.98, 60) |
CMYK | 41, 48, 0, 40 | |
HSL | 248.9°, 31.9, 45.5 | hsl(248.9, 31.9%, 45.5%) |
HSV | 248.9°, 48.4, 60 |
XYZ | 12.762, 10.066, 31.407 |
---|---|
Hunter Lab | 31.727, 16.278, -36.483 |
CIE-LAB | 37.961, 23.445, -39.11 |
CIE-LCH | 37.961, 45.599, 300.941 |
CIE-LUV | 41.18, 48.37, 0, 40 |
Web Safe | 666699 |
RGB percent of color #5a4f99
CMYK percent of color #5a4f99
Text with hexadecimal color #5a4f99
This text has a font color of #5a4f99
<p style="color:#5a4f99">Text here</p>
#5a4f99 Background Color
This box has a background color of #5a4f99
<div style="background-color:#5a4f99">Text here</div>
#5a4f99 Border Color
This box has a border color of #5a4f99
<div style="border: 4px solid #5a4f99">Text here</div>
CSS codes
<p style="color:#5a4f99">Text here</p>
<div style="background-color:#5a4f99">Text here</div>
<div style="border: 4px solid #5a4f99">Text here</div>
#5a4f99 Color on white background
This is how a font and box color of #5a4f99 will look
on a white background.
#5a4f99 Color on black background
This is how a font and box color of #5a4f99 hex color will look
on a black background.