In RGB color space, #5f31ff hex color has a red value of 95, a green value of 49 and a blue value of 255.
In CMYK color space (used in color printing), #5f31ff hex color is composed of 62.75% cyan, 80.78% magenta, 0% yellow and 0% black.
#5f31ff color has a hue of 253.4 degrees, a saturation of 100% and a lightness of 59.6%.
#5f31ff hex color contains mainly BLUE.
The closest web safe color of #5f31ff is #6633ff
#5f31ff hex color has a decimal value of 6238719.
HEX | 5f31ff | #5f31ff |
---|---|---|
RGB | 95, 49, 255 | rgb(95, 49, 255) |
RGB Percent | 37.25, 19.22, 100 | rgb(37.25, 19.22, 100) |
CMYK | 63, 81, 0, 0 | |
HSL | 253.4°, 100, 59.6 | hsl(253.4, 100%, 59.6%) |
HSV | 253.4°, 80.8, 100 |
XYZ | 23.868, 11.85, 95.637 |
---|---|
Hunter Lab | 34.424, 63.523, -140.624 |
CIE-LAB | 40.977, 69.86, -93.301 |
CIE-LCH | 40.977, 116.557, 306.824 |
CIE-LUV | 62.75, 80.78, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #5f31ff
CMYK percent of color #5f31ff
Text with hexadecimal color #5f31ff
This text has a font color of #5f31ff
<p style="color:#5f31ff">Text here</p>
#5f31ff Background Color
This box has a background color of #5f31ff
<div style="background-color:#5f31ff">Text here</div>
#5f31ff Border Color
This box has a border color of #5f31ff
<div style="border: 4px solid #5f31ff">Text here</div>
CSS codes
<p style="color:#5f31ff">Text here</p>
<div style="background-color:#5f31ff">Text here</div>
<div style="border: 4px solid #5f31ff">Text here</div>
#5f31ff Color on white background
This is how a font and box color of #5f31ff will look
on a white background.
#5f31ff Color on black background
This is how a font and box color of #5f31ff hex color will look
on a black background.