In RGB color space, #5e40a1 hex color has a red value of 94, a green value of 64 and a blue value of 161.
In CMYK color space (used in color printing), #5e40a1 hex color is composed of 41.61% cyan, 60.25% magenta, 0% yellow and 36.86% black.
#5e40a1 color has a hue of 258.6 degrees, a saturation of 43.11% and a lightness of 44.1%.
#5e40a1 hex color contains mainly BLUE.
The closest web safe color of #5e40a1 is #663399
#5e40a1 hex color has a decimal value of 6176929.
HEX | 5e40a1 | #5e40a1 |
---|---|---|
RGB | 94, 64, 161 | rgb(94, 64, 161) |
RGB Percent | 36.86, 25.1, 63.14 | rgb(36.86, 25.1, 63.14) |
CMYK | 42, 60, 0, 37 | |
HSL | 258.6°, 43.11, 44.1 | hsl(258.6, 43.11%, 44.1%) |
HSV | 258.6°, 60.2, 63.1 |
XYZ | 12.883, 8.62, 34.703 |
---|---|
Hunter Lab | 29.36, 26.946, -49.528 |
CIE-LAB | 35.242, 35.969, -48.267 |
CIE-LCH | 35.242, 60.195, 306.694 |
CIE-LUV | 41.61, 60.25, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #5e40a1
CMYK percent of color #5e40a1
Text with hexadecimal color #5e40a1
This text has a font color of #5e40a1
<p style="color:#5e40a1">Text here</p>
#5e40a1 Background Color
This box has a background color of #5e40a1
<div style="background-color:#5e40a1">Text here</div>
#5e40a1 Border Color
This box has a border color of #5e40a1
<div style="border: 4px solid #5e40a1">Text here</div>
CSS codes
<p style="color:#5e40a1">Text here</p>
<div style="background-color:#5e40a1">Text here</div>
<div style="border: 4px solid #5e40a1">Text here</div>
#5e40a1 Color on white background
This is how a font and box color of #5e40a1 will look
on a white background.
#5e40a1 Color on black background
This is how a font and box color of #5e40a1 hex color will look
on a black background.