In RGB color space, #5f31c7 hex color has a red value of 95, a green value of 49 and a blue value of 199.
In CMYK color space (used in color printing), #5f31c7 hex color is composed of 52.26% cyan, 75.38% magenta, 0% yellow and 21.96% black.
#5f31c7 color has a hue of 258.4 degrees, a saturation of 60.48% and a lightness of 48.6%.
#5f31c7 hex color contains mainly BLUE.
The closest web safe color of #5f31c7 is #6633cc
#5f31c7 hex color has a decimal value of 6238663.
HEX | 5f31c7 | #5f31c7 |
---|---|---|
RGB | 95, 49, 199 | rgb(95, 49, 199) |
RGB Percent | 37.25, 19.22, 78.04 | rgb(37.25, 19.22, 78.04) |
CMYK | 52, 75, 0, 22 | |
HSL | 258.4°, 60.48, 48.6 | hsl(258.4, 60.48%, 48.6%) |
HSV | 258.4°, 75.4, 78 |
XYZ | 16.126, 8.753, 54.872 |
---|---|
Hunter Lab | 29.585, 45.52, -89.255 |
CIE-LAB | 35.504, 54.799, -70.357 |
CIE-LCH | 35.504, 89.18, 307.914 |
CIE-LUV | 52.26, 75.38, 0, 21.96 |
Web Safe | 6633cc |
RGB percent of color #5f31c7
CMYK percent of color #5f31c7
Text with hexadecimal color #5f31c7
This text has a font color of #5f31c7
<p style="color:#5f31c7">Text here</p>
#5f31c7 Background Color
This box has a background color of #5f31c7
<div style="background-color:#5f31c7">Text here</div>
#5f31c7 Border Color
This box has a border color of #5f31c7
<div style="border: 4px solid #5f31c7">Text here</div>
CSS codes
<p style="color:#5f31c7">Text here</p>
<div style="background-color:#5f31c7">Text here</div>
<div style="border: 4px solid #5f31c7">Text here</div>
#5f31c7 Color on white background
This is how a font and box color of #5f31c7 will look
on a white background.
#5f31c7 Color on black background
This is how a font and box color of #5f31c7 hex color will look
on a black background.