In RGB color space, #5f31fb hex color has a red value of 95, a green value of 49 and a blue value of 251.
In CMYK color space (used in color printing), #5f31fb hex color is composed of 62.15% cyan, 80.48% magenta, 0% yellow and 1.57% black.
#5f31fb color has a hue of 253.7 degrees, a saturation of 96.19% and a lightness of 58.8%.
#5f31fb hex color contains mainly BLUE.
The closest web safe color of #5f31fb is #6633ff
#5f31fb hex color has a decimal value of 6238715.
HEX | 5f31fb | #5f31fb |
---|---|---|
RGB | 95, 49, 251 | rgb(95, 49, 251) |
RGB Percent | 37.25, 19.22, 98.43 | rgb(37.25, 19.22, 98.43) |
CMYK | 62, 80, 0, 2 | |
HSL | 253.7°, 96.19, 58.8 | hsl(253.7, 96.19%, 58.8%) |
HSV | 253.7°, 80.5, 98.4 |
XYZ | 23.23, 11.595, 92.28 |
---|---|
Hunter Lab | 34.051, 62.183, -136.841 |
CIE-LAB | 40.565, 68.798, -91.743 |
CIE-LCH | 40.565, 114.673, 306.866 |
CIE-LUV | 62.15, 80.48, 0, 1.57 |
Web Safe | 6633ff |
RGB percent of color #5f31fb
CMYK percent of color #5f31fb
Text with hexadecimal color #5f31fb
This text has a font color of #5f31fb
<p style="color:#5f31fb">Text here</p>
#5f31fb Background Color
This box has a background color of #5f31fb
<div style="background-color:#5f31fb">Text here</div>
#5f31fb Border Color
This box has a border color of #5f31fb
<div style="border: 4px solid #5f31fb">Text here</div>
CSS codes
<p style="color:#5f31fb">Text here</p>
<div style="background-color:#5f31fb">Text here</div>
<div style="border: 4px solid #5f31fb">Text here</div>
#5f31fb Color on white background
This is how a font and box color of #5f31fb will look
on a white background.
#5f31fb Color on black background
This is how a font and box color of #5f31fb hex color will look
on a black background.