In RGB color space, #5a31b3 hex color has a red value of 90, a green value of 49 and a blue value of 179.
In CMYK color space (used in color printing), #5a31b3 hex color is composed of 49.72% cyan, 72.63% magenta, 0% yellow and 29.8% black.
#5a31b3 color has a hue of 258.9 degrees, a saturation of 57.02% and a lightness of 44.7%.
#5a31b3 hex color contains mainly BLUE.
The closest web safe color of #5a31b3 is #6633cc
#5a31b3 hex color has a decimal value of 5910963.
HEX | 5a31b3 | #5a31b3 |
---|---|---|
RGB | 90, 49, 179 | rgb(90, 49, 179) |
RGB Percent | 35.29, 19.22, 70.2 | rgb(35.29, 19.22, 70.2) |
CMYK | 50, 73, 0, 30 | |
HSL | 258.9°, 57.02, 44.7 | hsl(258.9, 57.02%, 44.7%) |
HSV | 258.9°, 72.6, 70.2 |
XYZ | 13.451, 7.625, 43.411 |
---|---|
Hunter Lab | 27.613, 38.627, -73.88 |
CIE-LAB | 33.189, 48.537, -62.391 |
CIE-LCH | 33.189, 79.047, 307.881 |
CIE-LUV | 49.72, 72.63, 0, 29.8 |
Web Safe | 6633cc |
RGB percent of color #5a31b3
CMYK percent of color #5a31b3
Text with hexadecimal color #5a31b3
This text has a font color of #5a31b3
<p style="color:#5a31b3">Text here</p>
#5a31b3 Background Color
This box has a background color of #5a31b3
<div style="background-color:#5a31b3">Text here</div>
#5a31b3 Border Color
This box has a border color of #5a31b3
<div style="border: 4px solid #5a31b3">Text here</div>
CSS codes
<p style="color:#5a31b3">Text here</p>
<div style="background-color:#5a31b3">Text here</div>
<div style="border: 4px solid #5a31b3">Text here</div>
#5a31b3 Color on white background
This is how a font and box color of #5a31b3 will look
on a white background.
#5a31b3 Color on black background
This is how a font and box color of #5a31b3 hex color will look
on a black background.