In RGB color space, #5a31f5 hex color has a red value of 90, a green value of 49 and a blue value of 245.
In CMYK color space (used in color printing), #5a31f5 hex color is composed of 63.27% cyan, 80% magenta, 0% yellow and 3.92% black.
#5a31f5 color has a hue of 252.6 degrees, a saturation of 90.74% and a lightness of 57.6%.
#5a31f5 hex color contains mainly BLUE.
The closest web safe color of #5a31f5 is #6633ff
#5a31f5 hex color has a decimal value of 5911029.
HEX | 5a31f5 | #5a31f5 |
---|---|---|
RGB | 90, 49, 245 | rgb(90, 49, 245) |
RGB Percent | 35.29, 19.22, 96.08 | rgb(35.29, 19.22, 96.08) |
CMYK | 63, 80, 0, 4 | |
HSL | 252.6°, 90.74, 57.6 | hsl(252.6, 90.74%, 57.6%) |
HSV | 252.6°, 80, 96.1 |
XYZ | 21.796, 10.963, 87.353 |
---|---|
Hunter Lab | 33.11, 59.56, -133.244 |
CIE-LAB | 39.518, 66.741, -90.118 |
CIE-LCH | 39.518, 112.141, 306.523 |
CIE-LUV | 63.27, 80, 0, 3.92 |
Web Safe | 6633ff |
RGB percent of color #5a31f5
CMYK percent of color #5a31f5
Text with hexadecimal color #5a31f5
This text has a font color of #5a31f5
<p style="color:#5a31f5">Text here</p>
#5a31f5 Background Color
This box has a background color of #5a31f5
<div style="background-color:#5a31f5">Text here</div>
#5a31f5 Border Color
This box has a border color of #5a31f5
<div style="border: 4px solid #5a31f5">Text here</div>
CSS codes
<p style="color:#5a31f5">Text here</p>
<div style="background-color:#5a31f5">Text here</div>
<div style="border: 4px solid #5a31f5">Text here</div>
#5a31f5 Color on white background
This is how a font and box color of #5a31f5 will look
on a white background.
#5a31f5 Color on black background
This is how a font and box color of #5a31f5 hex color will look
on a black background.