In RGB color space, #5e51a1 hex color has a red value of 94, a green value of 81 and a blue value of 161.
In CMYK color space (used in color printing), #5e51a1 hex color is composed of 41.61% cyan, 49.69% magenta, 0% yellow and 36.86% black.
#5e51a1 color has a hue of 249.8 degrees, a saturation of 33.06% and a lightness of 47.5%.
#5e51a1 hex color contains mainly BLUE.
The closest web safe color of #5e51a1 is #666699
#5e51a1 hex color has a decimal value of 6181281.
HEX | 5e51a1 | #5e51a1 |
---|---|---|
RGB | 94, 81, 161 | rgb(94, 81, 161) |
RGB Percent | 36.86, 31.76, 63.14 | rgb(36.86, 31.76, 63.14) |
CMYK | 42, 50, 0, 37 | |
HSL | 249.8°, 33.06, 47.5 | hsl(249.8, 33.06%, 47.5%) |
HSV | 249.8°, 49.7, 63.1 |
XYZ | 13.992, 10.838, 35.073 |
---|---|
Hunter Lab | 32.921, 18.253, -40.121 |
CIE-LAB | 39.306, 25.619, -41.743 |
CIE-LCH | 39.306, 48.978, 301.539 |
CIE-LUV | 41.61, 49.69, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5e51a1
CMYK percent of color #5e51a1
Text with hexadecimal color #5e51a1
This text has a font color of #5e51a1
<p style="color:#5e51a1">Text here</p>
#5e51a1 Background Color
This box has a background color of #5e51a1
<div style="background-color:#5e51a1">Text here</div>
#5e51a1 Border Color
This box has a border color of #5e51a1
<div style="border: 4px solid #5e51a1">Text here</div>
CSS codes
<p style="color:#5e51a1">Text here</p>
<div style="background-color:#5e51a1">Text here</div>
<div style="border: 4px solid #5e51a1">Text here</div>
#5e51a1 Color on white background
This is how a font and box color of #5e51a1 will look
on a white background.
#5e51a1 Color on black background
This is how a font and box color of #5e51a1 hex color will look
on a black background.