In RGB color space, #5f31c0 hex color has a red value of 95, a green value of 49 and a blue value of 192.
In CMYK color space (used in color printing), #5f31c0 hex color is composed of 50.52% cyan, 74.48% magenta, 0% yellow and 24.71% black.
#5f31c0 color has a hue of 259.3 degrees, a saturation of 59.34% and a lightness of 47.3%.
#5f31c0 hex color contains mainly BLUE.
The closest web safe color of #5f31c0 is #6633cc
#5f31c0 hex color has a decimal value of 6238656.
HEX | 5f31c0 | #5f31c0 |
---|---|---|
RGB | 95, 49, 192 | rgb(95, 49, 192) |
RGB Percent | 37.25, 19.22, 75.29 | rgb(37.25, 19.22, 75.29) |
CMYK | 51, 74, 0, 25 | |
HSL | 259.3°, 59.34, 47.3 | hsl(259.3, 59.34%, 47.3%) |
HSV | 259.3°, 74.5, 75.3 |
XYZ | 15.332, 8.435, 50.689 |
---|---|
Hunter Lab | 29.043, 43.406, -83.149 |
CIE-LAB | 34.873, 52.901, -67.294 |
CIE-LCH | 34.873, 85.598, 308.172 |
CIE-LUV | 50.52, 74.48, 0, 24.71 |
Web Safe | 6633cc |
RGB percent of color #5f31c0
CMYK percent of color #5f31c0
Text with hexadecimal color #5f31c0
This text has a font color of #5f31c0
<p style="color:#5f31c0">Text here</p>
#5f31c0 Background Color
This box has a background color of #5f31c0
<div style="background-color:#5f31c0">Text here</div>
#5f31c0 Border Color
This box has a border color of #5f31c0
<div style="border: 4px solid #5f31c0">Text here</div>
CSS codes
<p style="color:#5f31c0">Text here</p>
<div style="background-color:#5f31c0">Text here</div>
<div style="border: 4px solid #5f31c0">Text here</div>
#5f31c0 Color on white background
This is how a font and box color of #5f31c0 will look
on a white background.
#5f31c0 Color on black background
This is how a font and box color of #5f31c0 hex color will look
on a black background.