In RGB color space, #5a21ad hex color has a red value of 90, a green value of 33 and a blue value of 173.
In CMYK color space (used in color printing), #5a21ad hex color is composed of 47.98% cyan, 80.92% magenta, 0% yellow and 32.16% black.
#5a21ad color has a hue of 264.4 degrees, a saturation of 67.96% and a lightness of 40.4%.
#5a21ad hex color contains mainly BLUE.
The closest web safe color of #5a21ad is #663399
#5a21ad hex color has a decimal value of 5906861.
HEX | 5a21ad | #5a21ad |
---|---|---|
RGB | 90, 33, 173 | rgb(90, 33, 173) |
RGB Percent | 35.29, 12.94, 67.84 | rgb(35.29, 12.94, 67.84) |
CMYK | 48, 81, 0, 32 | |
HSL | 264.4°, 67.96, 40.4 | hsl(264.4, 67.96%, 40.4%) |
HSV | 264.4°, 80.9, 67.8 |
XYZ | 12.303, 6.279, 40.099 |
---|---|
Hunter Lab | 25.058, 43.789, -77.338 |
CIE-LAB | 30.106, 54.195, -63.865 |
CIE-LCH | 30.106, 83.761, 310.317 |
CIE-LUV | 47.98, 80.92, 0, 32.16 |
Web Safe | 663399 |
RGB percent of color #5a21ad
CMYK percent of color #5a21ad
Text with hexadecimal color #5a21ad
This text has a font color of #5a21ad
<p style="color:#5a21ad">Text here</p>
#5a21ad Background Color
This box has a background color of #5a21ad
<div style="background-color:#5a21ad">Text here</div>
#5a21ad Border Color
This box has a border color of #5a21ad
<div style="border: 4px solid #5a21ad">Text here</div>
CSS codes
<p style="color:#5a21ad">Text here</p>
<div style="background-color:#5a21ad">Text here</div>
<div style="border: 4px solid #5a21ad">Text here</div>
#5a21ad Color on white background
This is how a font and box color of #5a21ad will look
on a white background.
#5a21ad Color on black background
This is how a font and box color of #5a21ad hex color will look
on a black background.