In RGB color space, #5a21e2 hex color has a red value of 90, a green value of 33 and a blue value of 226.
In CMYK color space (used in color printing), #5a21e2 hex color is composed of 60.18% cyan, 85.4% magenta, 0% yellow and 11.37% black.
#5a21e2 color has a hue of 257.7 degrees, a saturation of 76.89% and a lightness of 50.8%.
#5a21e2 hex color contains mainly BLUE.
The closest web safe color of #5a21e2 is #6633cc
#5a21e2 hex color has a decimal value of 5906914.
HEX | 5a21e2 | #5a21e2 |
---|---|---|
RGB | 90, 33, 226 | rgb(90, 33, 226) |
RGB Percent | 35.29, 12.94, 88.63 | rgb(35.29, 12.94, 88.63) |
CMYK | 60, 85, 0, 11 | |
HSL | 257.7°, 76.89, 50.8 | hsl(257.7, 76.89%, 50.8%) |
HSV | 257.7°, 85.4, 88.6 |
XYZ | 18.488, 8.752, 72.666 |
---|---|
Hunter Lab | 29.584, 59.78, -124.924 |
CIE-LAB | 35.502, 67.711, -85.981 |
CIE-LCH | 35.502, 109.442, 308.221 |
CIE-LUV | 60.18, 85.4, 0, 11.37 |
Web Safe | 6633cc |
RGB percent of color #5a21e2
CMYK percent of color #5a21e2
Text with hexadecimal color #5a21e2
This text has a font color of #5a21e2
<p style="color:#5a21e2">Text here</p>
#5a21e2 Background Color
This box has a background color of #5a21e2
<div style="background-color:#5a21e2">Text here</div>
#5a21e2 Border Color
This box has a border color of #5a21e2
<div style="border: 4px solid #5a21e2">Text here</div>
CSS codes
<p style="color:#5a21e2">Text here</p>
<div style="background-color:#5a21e2">Text here</div>
<div style="border: 4px solid #5a21e2">Text here</div>
#5a21e2 Color on white background
This is how a font and box color of #5a21e2 will look
on a white background.
#5a21e2 Color on black background
This is how a font and box color of #5a21e2 hex color will look
on a black background.