In RGB color space, #5e31c1 hex color has a red value of 94, a green value of 49 and a blue value of 193.
In CMYK color space (used in color printing), #5e31c1 hex color is composed of 51.3% cyan, 74.61% magenta, 0% yellow and 24.31% black.
#5e31c1 color has a hue of 258.8 degrees, a saturation of 59.5% and a lightness of 47.5%.
#5e31c1 hex color contains mainly BLUE.
The closest web safe color of #5e31c1 is #6633cc
#5e31c1 hex color has a decimal value of 6173121.
HEX | 5e31c1 | #5e31c1 |
---|---|---|
RGB | 94, 49, 193 | rgb(94, 49, 193) |
RGB Percent | 36.86, 19.22, 75.69 | rgb(36.86, 19.22, 75.69) |
CMYK | 51, 75, 0, 24 | |
HSL | 258.8°, 59.5, 47.5 | hsl(258.8, 59.5%, 47.5%) |
HSV | 258.8°, 74.6, 75.7 |
XYZ | 15.34, 8.427, 51.27 |
---|---|
Hunter Lab | 29.029, 43.524, -84.394 |
CIE-LAB | 34.857, 53.017, -67.912 |
CIE-LCH | 34.857, 86.156, 307.978 |
CIE-LUV | 51.3, 74.61, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #5e31c1
CMYK percent of color #5e31c1
Text with hexadecimal color #5e31c1
This text has a font color of #5e31c1
<p style="color:#5e31c1">Text here</p>
#5e31c1 Background Color
This box has a background color of #5e31c1
<div style="background-color:#5e31c1">Text here</div>
#5e31c1 Border Color
This box has a border color of #5e31c1
<div style="border: 4px solid #5e31c1">Text here</div>
CSS codes
<p style="color:#5e31c1">Text here</p>
<div style="background-color:#5e31c1">Text here</div>
<div style="border: 4px solid #5e31c1">Text here</div>
#5e31c1 Color on white background
This is how a font and box color of #5e31c1 will look
on a white background.
#5e31c1 Color on black background
This is how a font and box color of #5e31c1 hex color will look
on a black background.