In RGB color space, #5a31a2 hex color has a red value of 90, a green value of 49 and a blue value of 162.
In CMYK color space (used in color printing), #5a31a2 hex color is composed of 44.44% cyan, 69.75% magenta, 0% yellow and 36.47% black.
#5a31a2 color has a hue of 261.8 degrees, a saturation of 53.55% and a lightness of 41.4%.
#5a31a2 hex color contains mainly BLUE.
The closest web safe color of #5a31a2 is #663399
#5a31a2 hex color has a decimal value of 5910946.
HEX | 5a31a2 | #5a31a2 |
---|---|---|
RGB | 90, 49, 162 | rgb(90, 49, 162) |
RGB Percent | 35.29, 19.22, 63.53 | rgb(35.29, 19.22, 63.53) |
CMYK | 44, 70, 0, 36 | |
HSL | 261.8°, 53.55, 41.4 | hsl(261.8, 53.55%, 41.4%) |
HSV | 261.8°, 69.8, 63.5 |
XYZ | 11.836, 6.979, 34.906 |
---|---|
Hunter Lab | 26.418, 33.742, -59.848 |
CIE-LAB | 31.759, 43.827, -54.538 |
CIE-LCH | 31.759, 69.966, 308.786 |
CIE-LUV | 44.44, 69.75, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5a31a2
CMYK percent of color #5a31a2
Text with hexadecimal color #5a31a2
This text has a font color of #5a31a2
<p style="color:#5a31a2">Text here</p>
#5a31a2 Background Color
This box has a background color of #5a31a2
<div style="background-color:#5a31a2">Text here</div>
#5a31a2 Border Color
This box has a border color of #5a31a2
<div style="border: 4px solid #5a31a2">Text here</div>
CSS codes
<p style="color:#5a31a2">Text here</p>
<div style="background-color:#5a31a2">Text here</div>
<div style="border: 4px solid #5a31a2">Text here</div>
#5a31a2 Color on white background
This is how a font and box color of #5a31a2 will look
on a white background.
#5a31a2 Color on black background
This is how a font and box color of #5a31a2 hex color will look
on a black background.