In RGB color space, #5f31ea hex color has a red value of 95, a green value of 49 and a blue value of 234.
In CMYK color space (used in color printing), #5f31ea hex color is composed of 59.4% cyan, 79.06% magenta, 0% yellow and 8.24% black.
#5f31ea color has a hue of 254.9 degrees, a saturation of 81.5% and a lightness of 55.5%.
#5f31ea hex color contains mainly BLUE.
The closest web safe color of #5f31ea is #6633ff
#5f31ea hex color has a decimal value of 6238698.
HEX | 5f31ea | #5f31ea |
---|---|---|
RGB | 95, 49, 234 | rgb(95, 49, 234) |
RGB Percent | 37.25, 19.22, 91.76 | rgb(37.25, 19.22, 91.76) |
CMYK | 59, 79, 0, 8 | |
HSL | 254.9°, 81.5, 55.5 | hsl(254.9, 81.5%, 55.5%) |
HSV | 254.9°, 79.1, 91.8 |
XYZ | 20.669, 10.57, 78.793 |
---|---|
Hunter Lab | 32.512, 56.585, -120.934 |
CIE-LAB | 38.847, 64.267, -84.995 |
CIE-LCH | 38.847, 106.557, 307.094 |
CIE-LUV | 59.4, 79.06, 0, 8.24 |
Web Safe | 6633ff |
RGB percent of color #5f31ea
CMYK percent of color #5f31ea
Text with hexadecimal color #5f31ea
This text has a font color of #5f31ea
<p style="color:#5f31ea">Text here</p>
#5f31ea Background Color
This box has a background color of #5f31ea
<div style="background-color:#5f31ea">Text here</div>
#5f31ea Border Color
This box has a border color of #5f31ea
<div style="border: 4px solid #5f31ea">Text here</div>
CSS codes
<p style="color:#5f31ea">Text here</p>
<div style="background-color:#5f31ea">Text here</div>
<div style="border: 4px solid #5f31ea">Text here</div>
#5f31ea Color on white background
This is how a font and box color of #5f31ea will look
on a white background.
#5f31ea Color on black background
This is how a font and box color of #5f31ea hex color will look
on a black background.