In RGB color space, #5e51a2 hex color has a red value of 94, a green value of 81 and a blue value of 162.
In CMYK color space (used in color printing), #5e51a2 hex color is composed of 41.98% cyan, 50% magenta, 0% yellow and 36.47% black.
#5e51a2 color has a hue of 249.6 degrees, a saturation of 33.33% and a lightness of 47.6%.
#5e51a2 hex color contains mainly BLUE.
The closest web safe color of #5e51a2 is #666699
#5e51a2 hex color has a decimal value of 6181282.
HEX | 5e51a2 | #5e51a2 |
---|---|---|
RGB | 94, 81, 162 | rgb(94, 81, 162) |
RGB Percent | 36.86, 31.76, 63.53 | rgb(36.86, 31.76, 63.53) |
CMYK | 42, 50, 0, 36 | |
HSL | 249.6°, 33.33, 47.6 | hsl(249.6, 33.33%, 47.6%) |
HSV | 249.6°, 50, 63.5 |
XYZ | 14.08, 10.873, 35.539 |
---|---|
Hunter Lab | 32.974, 18.515, -40.82 |
CIE-LAB | 39.366, 25.915, -42.245 |
CIE-LCH | 39.366, 49.56, 301.527 |
CIE-LUV | 41.98, 50, 0, 36.47 |
Web Safe | 666699 |
RGB percent of color #5e51a2
CMYK percent of color #5e51a2
Text with hexadecimal color #5e51a2
This text has a font color of #5e51a2
<p style="color:#5e51a2">Text here</p>
#5e51a2 Background Color
This box has a background color of #5e51a2
<div style="background-color:#5e51a2">Text here</div>
#5e51a2 Border Color
This box has a border color of #5e51a2
<div style="border: 4px solid #5e51a2">Text here</div>
CSS codes
<p style="color:#5e51a2">Text here</p>
<div style="background-color:#5e51a2">Text here</div>
<div style="border: 4px solid #5e51a2">Text here</div>
#5e51a2 Color on white background
This is how a font and box color of #5e51a2 will look
on a white background.
#5e51a2 Color on black background
This is how a font and box color of #5e51a2 hex color will look
on a black background.