In RGB color space, #5a31a9 hex color has a red value of 90, a green value of 49 and a blue value of 169.
In CMYK color space (used in color printing), #5a31a9 hex color is composed of 46.75% cyan, 71.01% magenta, 0% yellow and 33.73% black.
#5a31a9 color has a hue of 260.5 degrees, a saturation of 55.05% and a lightness of 42.7%.
#5a31a9 hex color contains mainly BLUE.
The closest web safe color of #5a31a9 is #663399
#5a31a9 hex color has a decimal value of 5910953.
HEX | 5a31a9 | #5a31a9 |
---|---|---|
RGB | 90, 49, 169 | rgb(90, 49, 169) |
RGB Percent | 35.29, 19.22, 66.27 | rgb(35.29, 19.22, 66.27) |
CMYK | 47, 71, 0, 34 | |
HSL | 260.5°, 55.05, 42.7 | hsl(260.5, 55.05%, 42.7%) |
HSV | 260.5°, 71, 66.3 |
XYZ | 12.476, 7.235, 38.275 |
---|---|
Hunter Lab | 26.898, 35.722, -65.539 |
CIE-LAB | 32.336, 45.762, -57.812 |
CIE-LCH | 32.336, 73.732, 308.364 |
CIE-LUV | 46.75, 71.01, 0, 33.73 |
Web Safe | 663399 |
RGB percent of color #5a31a9
CMYK percent of color #5a31a9
Text with hexadecimal color #5a31a9
This text has a font color of #5a31a9
<p style="color:#5a31a9">Text here</p>
#5a31a9 Background Color
This box has a background color of #5a31a9
<div style="background-color:#5a31a9">Text here</div>
#5a31a9 Border Color
This box has a border color of #5a31a9
<div style="border: 4px solid #5a31a9">Text here</div>
CSS codes
<p style="color:#5a31a9">Text here</p>
<div style="background-color:#5a31a9">Text here</div>
<div style="border: 4px solid #5a31a9">Text here</div>
#5a31a9 Color on white background
This is how a font and box color of #5a31a9 will look
on a white background.
#5a31a9 Color on black background
This is how a font and box color of #5a31a9 hex color will look
on a black background.