In RGB color space, #5e31a6 hex color has a red value of 94, a green value of 49 and a blue value of 166.
In CMYK color space (used in color printing), #5e31a6 hex color is composed of 43.37% cyan, 70.48% magenta, 0% yellow and 34.9% black.
#5e31a6 color has a hue of 263.1 degrees, a saturation of 54.42% and a lightness of 42.2%.
#5e31a6 hex color contains mainly BLUE.
The closest web safe color of #5e31a6 is #663399
#5e31a6 hex color has a decimal value of 6173094.
HEX | 5e31a6 | #5e31a6 |
---|---|---|
RGB | 94, 49, 166 | rgb(94, 49, 166) |
RGB Percent | 36.86, 19.22, 65.1 | rgb(36.86, 19.22, 65.1) |
CMYK | 43, 70, 0, 35 | |
HSL | 263.1°, 54.42, 42.2 | hsl(263.1, 54.42%, 42.2%) |
HSV | 263.1°, 70.5, 65.1 |
XYZ | 12.597, 7.329, 36.827 |
---|---|
Hunter Lab | 27.072, 35.682, -61.703 |
CIE-LAB | 32.544, 45.682, -55.65 |
CIE-LCH | 32.544, 71.998, 309.382 |
CIE-LUV | 43.37, 70.48, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5e31a6
CMYK percent of color #5e31a6
Text with hexadecimal color #5e31a6
This text has a font color of #5e31a6
<p style="color:#5e31a6">Text here</p>
#5e31a6 Background Color
This box has a background color of #5e31a6
<div style="background-color:#5e31a6">Text here</div>
#5e31a6 Border Color
This box has a border color of #5e31a6
<div style="border: 4px solid #5e31a6">Text here</div>
CSS codes
<p style="color:#5e31a6">Text here</p>
<div style="background-color:#5e31a6">Text here</div>
<div style="border: 4px solid #5e31a6">Text here</div>
#5e31a6 Color on white background
This is how a font and box color of #5e31a6 will look
on a white background.
#5e31a6 Color on black background
This is how a font and box color of #5e31a6 hex color will look
on a black background.