In RGB color space, #5a31d7 hex color has a red value of 90, a green value of 49 and a blue value of 215.
In CMYK color space (used in color printing), #5a31d7 hex color is composed of 58.14% cyan, 77.21% magenta, 0% yellow and 15.69% black.
#5a31d7 color has a hue of 254.8 degrees, a saturation of 67.48% and a lightness of 51.8%.
#5a31d7 hex color contains mainly BLUE.
The closest web safe color of #5a31d7 is #6633cc
#5a31d7 hex color has a decimal value of 5910999.
HEX | 5a31d7 | #5a31d7 |
---|---|---|
RGB | 90, 49, 215 | rgb(90, 49, 215) |
RGB Percent | 35.29, 19.22, 84.31 | rgb(35.29, 19.22, 84.31) |
CMYK | 58, 77, 0, 16 | |
HSL | 254.8°, 67.48, 51.8 | hsl(254.8, 67.48%, 51.8%) |
HSV | 254.8°, 77.2, 84.3 |
XYZ | 17.581, 9.277, 65.154 |
---|---|
Hunter Lab | 30.458, 49.732, -105.508 |
CIE-LAB | 36.512, 58.541, -77.997 |
CIE-LCH | 36.512, 97.522, 306.89 |
CIE-LUV | 58.14, 77.21, 0, 15.69 |
Web Safe | 6633cc |
RGB percent of color #5a31d7
CMYK percent of color #5a31d7
Text with hexadecimal color #5a31d7
This text has a font color of #5a31d7
<p style="color:#5a31d7">Text here</p>
#5a31d7 Background Color
This box has a background color of #5a31d7
<div style="background-color:#5a31d7">Text here</div>
#5a31d7 Border Color
This box has a border color of #5a31d7
<div style="border: 4px solid #5a31d7">Text here</div>
CSS codes
<p style="color:#5a31d7">Text here</p>
<div style="background-color:#5a31d7">Text here</div>
<div style="border: 4px solid #5a31d7">Text here</div>
#5a31d7 Color on white background
This is how a font and box color of #5a31d7 will look
on a white background.
#5a31d7 Color on black background
This is how a font and box color of #5a31d7 hex color will look
on a black background.