In RGB color space, #5a31b5 hex color has a red value of 90, a green value of 49 and a blue value of 181.
In CMYK color space (used in color printing), #5a31b5 hex color is composed of 50.28% cyan, 72.93% magenta, 0% yellow and 29.02% black.
#5a31b5 color has a hue of 258.6 degrees, a saturation of 57.39% and a lightness of 45.1%.
#5a31b5 hex color contains mainly BLUE.
The closest web safe color of #5a31b5 is #6633cc
#5a31b5 hex color has a decimal value of 5910965.
HEX | 5a31b5 | #5a31b5 |
---|---|---|
RGB | 90, 49, 181 | rgb(90, 49, 181) |
RGB Percent | 35.29, 19.22, 70.98 | rgb(35.29, 19.22, 70.98) |
CMYK | 50, 73, 0, 29 | |
HSL | 258.6°, 57.39, 45.1 | hsl(258.6, 57.39%, 45.1%) |
HSV | 258.6°, 72.9, 71 |
XYZ | 13.655, 7.706, 44.484 |
---|---|
Hunter Lab | 27.76, 39.225, -75.579 |
CIE-LAB | 33.363, 49.1, -63.295 |
CIE-LCH | 33.363, 80.107, 307.802 |
CIE-LUV | 50.28, 72.93, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5a31b5
CMYK percent of color #5a31b5
Text with hexadecimal color #5a31b5
This text has a font color of #5a31b5
<p style="color:#5a31b5">Text here</p>
#5a31b5 Background Color
This box has a background color of #5a31b5
<div style="background-color:#5a31b5">Text here</div>
#5a31b5 Border Color
This box has a border color of #5a31b5
<div style="border: 4px solid #5a31b5">Text here</div>
CSS codes
<p style="color:#5a31b5">Text here</p>
<div style="background-color:#5a31b5">Text here</div>
<div style="border: 4px solid #5a31b5">Text here</div>
#5a31b5 Color on white background
This is how a font and box color of #5a31b5 will look
on a white background.
#5a31b5 Color on black background
This is how a font and box color of #5a31b5 hex color will look
on a black background.