In RGB color space, #5a31a4 hex color has a red value of 90, a green value of 49 and a blue value of 164.
In CMYK color space (used in color printing), #5a31a4 hex color is composed of 45.12% cyan, 70.12% magenta, 0% yellow and 35.69% black.
#5a31a4 color has a hue of 261.4 degrees, a saturation of 53.99% and a lightness of 41.8%.
#5a31a4 hex color contains mainly BLUE.
The closest web safe color of #5a31a4 is #663399
#5a31a4 hex color has a decimal value of 5910948.
HEX | 5a31a4 | #5a31a4 |
---|---|---|
RGB | 90, 49, 164 | rgb(90, 49, 164) |
RGB Percent | 35.29, 19.22, 64.31 | rgb(35.29, 19.22, 64.31) |
CMYK | 45, 70, 0, 36 | |
HSL | 261.4°, 53.99, 41.8 | hsl(261.4, 53.99%, 41.8%) |
HSV | 261.4°, 70.1, 64.3 |
XYZ | 12.016, 7.051, 35.85 |
---|---|
Hunter Lab | 26.554, 34.305, -61.459 |
CIE-LAB | 31.923, 44.381, -55.479 |
CIE-LCH | 31.923, 71.046, 308.658 |
CIE-LUV | 45.12, 70.12, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5a31a4
CMYK percent of color #5a31a4
Text with hexadecimal color #5a31a4
This text has a font color of #5a31a4
<p style="color:#5a31a4">Text here</p>
#5a31a4 Background Color
This box has a background color of #5a31a4
<div style="background-color:#5a31a4">Text here</div>
#5a31a4 Border Color
This box has a border color of #5a31a4
<div style="border: 4px solid #5a31a4">Text here</div>
CSS codes
<p style="color:#5a31a4">Text here</p>
<div style="background-color:#5a31a4">Text here</div>
<div style="border: 4px solid #5a31a4">Text here</div>
#5a31a4 Color on white background
This is how a font and box color of #5a31a4 will look
on a white background.
#5a31a4 Color on black background
This is how a font and box color of #5a31a4 hex color will look
on a black background.