In RGB color space, #5f31c3 hex color has a red value of 95, a green value of 49 and a blue value of 195.
In CMYK color space (used in color printing), #5f31c3 hex color is composed of 51.28% cyan, 74.87% magenta, 0% yellow and 23.53% black.
#5f31c3 color has a hue of 258.9 degrees, a saturation of 59.84% and a lightness of 47.8%.
#5f31c3 hex color contains mainly BLUE.
The closest web safe color of #5f31c3 is #6633cc
#5f31c3 hex color has a decimal value of 6238659.
HEX | 5f31c3 | #5f31c3 |
---|---|---|
RGB | 95, 49, 195 | rgb(95, 49, 195) |
RGB Percent | 37.25, 19.22, 76.47 | rgb(37.25, 19.22, 76.47) |
CMYK | 51, 75, 0, 24 | |
HSL | 258.9°, 59.84, 47.8 | hsl(258.9, 59.84%, 47.8%) |
HSV | 258.9°, 74.9, 76.5 |
XYZ | 15.668, 8.57, 52.458 |
---|---|
Hunter Lab | 29.275, 44.304, -85.751 |
CIE-LAB | 35.143, 53.711, -68.611 |
CIE-LCH | 35.143, 87.134, 308.055 |
CIE-LUV | 51.28, 74.87, 0, 23.53 |
Web Safe | 6633cc |
RGB percent of color #5f31c3
CMYK percent of color #5f31c3
Text with hexadecimal color #5f31c3
This text has a font color of #5f31c3
<p style="color:#5f31c3">Text here</p>
#5f31c3 Background Color
This box has a background color of #5f31c3
<div style="background-color:#5f31c3">Text here</div>
#5f31c3 Border Color
This box has a border color of #5f31c3
<div style="border: 4px solid #5f31c3">Text here</div>
CSS codes
<p style="color:#5f31c3">Text here</p>
<div style="background-color:#5f31c3">Text here</div>
<div style="border: 4px solid #5f31c3">Text here</div>
#5f31c3 Color on white background
This is how a font and box color of #5f31c3 will look
on a white background.
#5f31c3 Color on black background
This is how a font and box color of #5f31c3 hex color will look
on a black background.