In RGB color space, #5e1f98 hex color has a red value of 94, a green value of 31 and a blue value of 152.
In CMYK color space (used in color printing), #5e1f98 hex color is composed of 38.16% cyan, 79.61% magenta, 0% yellow and 40.39% black.
#5e1f98 color has a hue of 271.2 degrees, a saturation of 66.12% and a lightness of 35.9%.
#5e1f98 hex color contains mainly BLUE.
The closest web safe color of #5e1f98 is #663399
#5e1f98 hex color has a decimal value of 6168472.
HEX | 5e1f98 | #5e1f98 |
---|---|---|
RGB | 94, 31, 152 | rgb(94, 31, 152) |
RGB Percent | 36.86, 12.16, 59.61 | rgb(36.86, 12.16, 59.61) |
CMYK | 38, 80, 0, 40 | |
HSL | 271.2°, 66.12, 35.9 | hsl(271.2, 66.12%, 35.9%) |
HSV | 271.2°, 79.6, 59.6 |
XYZ | 10.774, 5.627, 30.224 |
---|---|
Hunter Lab | 23.721, 39.561, -58.938 |
CIE-LAB | 28.451, 50.382, -53.825 |
CIE-LCH | 28.451, 73.726, 313.108 |
CIE-LUV | 38.16, 79.61, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #5e1f98
CMYK percent of color #5e1f98
Text with hexadecimal color #5e1f98
This text has a font color of #5e1f98
<p style="color:#5e1f98">Text here</p>
#5e1f98 Background Color
This box has a background color of #5e1f98
<div style="background-color:#5e1f98">Text here</div>
#5e1f98 Border Color
This box has a border color of #5e1f98
<div style="border: 4px solid #5e1f98">Text here</div>
CSS codes
<p style="color:#5e1f98">Text here</p>
<div style="background-color:#5e1f98">Text here</div>
<div style="border: 4px solid #5e1f98">Text here</div>
#5e1f98 Color on white background
This is how a font and box color of #5e1f98 will look
on a white background.
#5e1f98 Color on black background
This is how a font and box color of #5e1f98 hex color will look
on a black background.