In RGB color space, #5a3f8c hex color has a red value of 90, a green value of 63 and a blue value of 140.
In CMYK color space (used in color printing), #5a3f8c hex color is composed of 35.71% cyan, 55% magenta, 0% yellow and 45.1% black.
#5a3f8c color has a hue of 261 degrees, a saturation of 37.93% and a lightness of 39.8%.
#5a3f8c hex color contains mainly BLUE.
The closest web safe color of #5a3f8c is #663399
#5a3f8c hex color has a decimal value of 5914508.
HEX | 5a3f8c | #5a3f8c |
---|---|---|
RGB | 90, 63, 140 | rgb(90, 63, 140) |
RGB Percent | 35.29, 24.71, 54.9 | rgb(35.29, 24.71, 54.9) |
CMYK | 36, 55, 0, 45 | |
HSL | 261°, 37.93, 39.8 | hsl(261, 37.93%, 39.8%) |
HSV | 261°, 55, 54.9 |
XYZ | 10.728, 7.622, 25.717 |
---|---|
Hunter Lab | 27.608, 21.048, -35.903 |
CIE-LAB | 33.183, 29.642, -38.83 |
CIE-LCH | 33.183, 48.851, 307.357 |
CIE-LUV | 35.71, 55, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #5a3f8c
CMYK percent of color #5a3f8c
Text with hexadecimal color #5a3f8c
This text has a font color of #5a3f8c
<p style="color:#5a3f8c">Text here</p>
#5a3f8c Background Color
This box has a background color of #5a3f8c
<div style="background-color:#5a3f8c">Text here</div>
#5a3f8c Border Color
This box has a border color of #5a3f8c
<div style="border: 4px solid #5a3f8c">Text here</div>
CSS codes
<p style="color:#5a3f8c">Text here</p>
<div style="background-color:#5a3f8c">Text here</div>
<div style="border: 4px solid #5a3f8c">Text here</div>
#5a3f8c Color on white background
This is how a font and box color of #5a3f8c will look
on a white background.
#5a3f8c Color on black background
This is how a font and box color of #5a3f8c hex color will look
on a black background.