In RGB color space, #5a21e4 hex color has a red value of 90, a green value of 33 and a blue value of 228.
In CMYK color space (used in color printing), #5a21e4 hex color is composed of 60.53% cyan, 85.53% magenta, 0% yellow and 10.59% black.
#5a21e4 color has a hue of 257.5 degrees, a saturation of 78.31% and a lightness of 51.2%.
#5a21e4 hex color contains mainly BLUE.
The closest web safe color of #5a21e4 is #6633cc
#5a21e4 hex color has a decimal value of 5906916.
HEX | 5a21e4 | #5a21e4 |
---|---|---|
RGB | 90, 33, 228 | rgb(90, 33, 228) |
RGB Percent | 35.29, 12.94, 89.41 | rgb(35.29, 12.94, 89.41) |
CMYK | 61, 86, 0, 11 | |
HSL | 257.5°, 78.31, 51.2 | hsl(257.5, 78.31%, 51.2%) |
HSV | 257.5°, 85.5, 89.4 |
XYZ | 18.764, 8.863, 74.121 |
---|---|
Hunter Lab | 29.771, 60.406, -126.776 |
CIE-LAB | 35.719, 68.211, -86.766 |
CIE-LCH | 35.719, 110.368, 308.173 |
CIE-LUV | 60.53, 85.53, 0, 10.59 |
Web Safe | 6633cc |
RGB percent of color #5a21e4
CMYK percent of color #5a21e4
Text with hexadecimal color #5a21e4
This text has a font color of #5a21e4
<p style="color:#5a21e4">Text here</p>
#5a21e4 Background Color
This box has a background color of #5a21e4
<div style="background-color:#5a21e4">Text here</div>
#5a21e4 Border Color
This box has a border color of #5a21e4
<div style="border: 4px solid #5a21e4">Text here</div>
CSS codes
<p style="color:#5a21e4">Text here</p>
<div style="background-color:#5a21e4">Text here</div>
<div style="border: 4px solid #5a21e4">Text here</div>
#5a21e4 Color on white background
This is how a font and box color of #5a21e4 will look
on a white background.
#5a21e4 Color on black background
This is how a font and box color of #5a21e4 hex color will look
on a black background.