In RGB color space, #5f31c2 hex color has a red value of 95, a green value of 49 and a blue value of 194.
In CMYK color space (used in color printing), #5f31c2 hex color is composed of 51.03% cyan, 74.74% magenta, 0% yellow and 23.92% black.
#5f31c2 color has a hue of 259 degrees, a saturation of 59.67% and a lightness of 47.6%.
#5f31c2 hex color contains mainly BLUE.
The closest web safe color of #5f31c2 is #6633cc
#5f31c2 hex color has a decimal value of 6238658.
HEX | 5f31c2 | #5f31c2 |
---|---|---|
RGB | 95, 49, 194 | rgb(95, 49, 194) |
RGB Percent | 37.25, 19.22, 76.08 | rgb(37.25, 19.22, 76.08) |
CMYK | 51, 75, 0, 24 | |
HSL | 259°, 59.67, 47.6 | hsl(259, 59.67%, 47.6%) |
HSV | 259°, 74.7, 76.1 |
XYZ | 15.555, 8.525, 51.864 |
---|---|
Hunter Lab | 29.198, 44, -84.879 |
CIE-LAB | 35.053, 53.437, -68.172 |
CIE-LCH | 35.053, 86.619, 308.091 |
CIE-LUV | 51.03, 74.74, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #5f31c2
CMYK percent of color #5f31c2
Text with hexadecimal color #5f31c2
This text has a font color of #5f31c2
<p style="color:#5f31c2">Text here</p>
#5f31c2 Background Color
This box has a background color of #5f31c2
<div style="background-color:#5f31c2">Text here</div>
#5f31c2 Border Color
This box has a border color of #5f31c2
<div style="border: 4px solid #5f31c2">Text here</div>
CSS codes
<p style="color:#5f31c2">Text here</p>
<div style="background-color:#5f31c2">Text here</div>
<div style="border: 4px solid #5f31c2">Text here</div>
#5f31c2 Color on white background
This is how a font and box color of #5f31c2 will look
on a white background.
#5f31c2 Color on black background
This is how a font and box color of #5f31c2 hex color will look
on a black background.