In RGB color space, #5a4f9d hex color has a red value of 90, a green value of 79 and a blue value of 157.
In CMYK color space (used in color printing), #5a4f9d hex color is composed of 42.68% cyan, 49.68% magenta, 0% yellow and 38.43% black.
#5a4f9d color has a hue of 248.5 degrees, a saturation of 33.05% and a lightness of 46.3%.
#5a4f9d hex color contains mainly BLUE.
The closest web safe color of #5a4f9d is #666699
#5a4f9d hex color has a decimal value of 5918621.
HEX | 5a4f9d | #5a4f9d |
---|---|---|
RGB | 90, 79, 157 | rgb(90, 79, 157) |
RGB Percent | 35.29, 30.98, 61.57 | rgb(35.29, 30.98, 61.57) |
CMYK | 43, 50, 0, 38 | |
HSL | 248.5°, 33.05, 46.3 | hsl(248.5, 33.05%, 46.3%) |
HSV | 248.5°, 49.7, 61.6 |
XYZ | 13.098, 10.2, 33.177 |
---|---|
Hunter Lab | 31.937, 17.315, -39.235 |
CIE-LAB | 38.199, 24.645, -41.136 |
CIE-LCH | 38.199, 47.954, 300.926 |
CIE-LUV | 42.68, 49.68, 0, 38.43 |
Web Safe | 666699 |
RGB percent of color #5a4f9d
CMYK percent of color #5a4f9d
Text with hexadecimal color #5a4f9d
This text has a font color of #5a4f9d
<p style="color:#5a4f9d">Text here</p>
#5a4f9d Background Color
This box has a background color of #5a4f9d
<div style="background-color:#5a4f9d">Text here</div>
#5a4f9d Border Color
This box has a border color of #5a4f9d
<div style="border: 4px solid #5a4f9d">Text here</div>
CSS codes
<p style="color:#5a4f9d">Text here</p>
<div style="background-color:#5a4f9d">Text here</div>
<div style="border: 4px solid #5a4f9d">Text here</div>
#5a4f9d Color on white background
This is how a font and box color of #5a4f9d will look
on a white background.
#5a4f9d Color on black background
This is how a font and box color of #5a4f9d hex color will look
on a black background.