In RGB color space, #5f31e1 hex color has a red value of 95, a green value of 49 and a blue value of 225.
In CMYK color space (used in color printing), #5f31e1 hex color is composed of 57.78% cyan, 78.22% magenta, 0% yellow and 11.76% black.
#5f31e1 color has a hue of 255.7 degrees, a saturation of 74.58% and a lightness of 53.7%.
#5f31e1 hex color contains mainly BLUE.
The closest web safe color of #5f31e1 is #6633cc
#5f31e1 hex color has a decimal value of 6238689.
HEX | 5f31e1 | #5f31e1 |
---|---|---|
RGB | 95, 49, 225 | rgb(95, 49, 225) |
RGB Percent | 37.25, 19.22, 88.24 | rgb(37.25, 19.22, 88.24) |
CMYK | 58, 78, 0, 12 | |
HSL | 255.7°, 74.58, 53.7 | hsl(255.7, 74.58%, 53.7%) |
HSV | 255.7°, 78.2, 88.2 |
XYZ | 19.408, 10.066, 72.154 |
---|---|
Hunter Lab | 31.727, 53.67, -112.629 |
CIE-LAB | 37.961, 61.843, -81.331 |
CIE-LCH | 37.961, 102.173, 307.249 |
CIE-LUV | 57.78, 78.22, 0, 11.76 |
Web Safe | 6633cc |
RGB percent of color #5f31e1
CMYK percent of color #5f31e1
Text with hexadecimal color #5f31e1
This text has a font color of #5f31e1
<p style="color:#5f31e1">Text here</p>
#5f31e1 Background Color
This box has a background color of #5f31e1
<div style="background-color:#5f31e1">Text here</div>
#5f31e1 Border Color
This box has a border color of #5f31e1
<div style="border: 4px solid #5f31e1">Text here</div>
CSS codes
<p style="color:#5f31e1">Text here</p>
<div style="background-color:#5f31e1">Text here</div>
<div style="border: 4px solid #5f31e1">Text here</div>
#5f31e1 Color on white background
This is how a font and box color of #5f31e1 will look
on a white background.
#5f31e1 Color on black background
This is how a font and box color of #5f31e1 hex color will look
on a black background.