In RGB color space, #5a31b9 hex color has a red value of 90, a green value of 49 and a blue value of 185.
In CMYK color space (used in color printing), #5a31b9 hex color is composed of 51.35% cyan, 73.51% magenta, 0% yellow and 27.45% black.
#5a31b9 color has a hue of 258.1 degrees, a saturation of 58.12% and a lightness of 45.9%.
#5a31b9 hex color contains mainly BLUE.
The closest web safe color of #5a31b9 is #6633cc
#5a31b9 hex color has a decimal value of 5910969.
HEX | 5a31b9 | #5a31b9 |
---|---|---|
RGB | 90, 49, 185 | rgb(90, 49, 185) |
RGB Percent | 35.29, 19.22, 72.55 | rgb(35.29, 19.22, 72.55) |
CMYK | 51, 74, 0, 27 | |
HSL | 258.1°, 58.12, 45.9 | hsl(258.1, 58.12%, 45.9%) |
HSV | 258.1°, 73.5, 72.5 |
XYZ | 14.072, 7.873, 46.677 |
---|---|
Hunter Lab | 28.059, 40.418, -78.99 |
CIE-LAB | 33.717, 50.213, -65.084 |
CIE-LCH | 33.717, 82.203, 307.651 |
CIE-LUV | 51.35, 73.51, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #5a31b9
CMYK percent of color #5a31b9
Text with hexadecimal color #5a31b9
This text has a font color of #5a31b9
<p style="color:#5a31b9">Text here</p>
#5a31b9 Background Color
This box has a background color of #5a31b9
<div style="background-color:#5a31b9">Text here</div>
#5a31b9 Border Color
This box has a border color of #5a31b9
<div style="border: 4px solid #5a31b9">Text here</div>
CSS codes
<p style="color:#5a31b9">Text here</p>
<div style="background-color:#5a31b9">Text here</div>
<div style="border: 4px solid #5a31b9">Text here</div>
#5a31b9 Color on white background
This is how a font and box color of #5a31b9 will look
on a white background.
#5a31b9 Color on black background
This is how a font and box color of #5a31b9 hex color will look
on a black background.