In RGB color space, #5f31bc hex color has a red value of 95, a green value of 49 and a blue value of 188.
In CMYK color space (used in color printing), #5f31bc hex color is composed of 49.47% cyan, 73.94% magenta, 0% yellow and 26.27% black.
#5f31bc color has a hue of 259.9 degrees, a saturation of 58.65% and a lightness of 46.5%.
#5f31bc hex color contains mainly BLUE.
The closest web safe color of #5f31bc is #6633cc
#5f31bc hex color has a decimal value of 6238652.
HEX | 5f31bc | #5f31bc |
---|---|---|
RGB | 95, 49, 188 | rgb(95, 49, 188) |
RGB Percent | 37.25, 19.22, 73.73 | rgb(37.25, 19.22, 73.73) |
CMYK | 49, 74, 0, 26 | |
HSL | 259.9°, 58.65, 46.5 | hsl(259.9, 58.65%, 46.5%) |
HSV | 259.9°, 73.9, 73.7 |
XYZ | 14.895, 8.26, 48.386 |
---|---|
Hunter Lab | 28.74, 42.215, -79.7 |
CIE-LAB | 34.519, 51.817, -65.521 |
CIE-LCH | 34.519, 83.534, 308.339 |
CIE-LUV | 49.47, 73.94, 0, 26.27 |
Web Safe | 6633cc |
RGB percent of color #5f31bc
CMYK percent of color #5f31bc
Text with hexadecimal color #5f31bc
This text has a font color of #5f31bc
<p style="color:#5f31bc">Text here</p>
#5f31bc Background Color
This box has a background color of #5f31bc
<div style="background-color:#5f31bc">Text here</div>
#5f31bc Border Color
This box has a border color of #5f31bc
<div style="border: 4px solid #5f31bc">Text here</div>
CSS codes
<p style="color:#5f31bc">Text here</p>
<div style="background-color:#5f31bc">Text here</div>
<div style="border: 4px solid #5f31bc">Text here</div>
#5f31bc Color on white background
This is how a font and box color of #5f31bc will look
on a white background.
#5f31bc Color on black background
This is how a font and box color of #5f31bc hex color will look
on a black background.