In RGB color space, #5a21d5 hex color has a red value of 90, a green value of 33 and a blue value of 213.
In CMYK color space (used in color printing), #5a21d5 hex color is composed of 57.75% cyan, 84.51% magenta, 0% yellow and 16.47% black.
#5a21d5 color has a hue of 259 degrees, a saturation of 73.17% and a lightness of 48.2%.
#5a21d5 hex color contains mainly BLUE.
The closest web safe color of #5a21d5 is #6633cc
#5a21d5 hex color has a decimal value of 5906901.
HEX | 5a21d5 | #5a21d5 |
---|---|---|
RGB | 90, 33, 213 | rgb(90, 33, 213) |
RGB Percent | 35.29, 12.94, 83.53 | rgb(35.29, 12.94, 83.53) |
CMYK | 58, 85, 0, 16 | |
HSL | 259°, 73.17, 48.2 | hsl(259, 73.17%, 48.2%) |
HSV | 259°, 84.5, 83.5 |
XYZ | 16.771, 8.065, 63.624 |
---|---|
Hunter Lab | 28.399, 55.715, -112.952 |
CIE-LAB | 34.118, 64.417, -80.795 |
CIE-LCH | 34.118, 103.331, 308.565 |
CIE-LUV | 57.75, 84.51, 0, 16.47 |
Web Safe | 6633cc |
RGB percent of color #5a21d5
CMYK percent of color #5a21d5
Text with hexadecimal color #5a21d5
This text has a font color of #5a21d5
<p style="color:#5a21d5">Text here</p>
#5a21d5 Background Color
This box has a background color of #5a21d5
<div style="background-color:#5a21d5">Text here</div>
#5a21d5 Border Color
This box has a border color of #5a21d5
<div style="border: 4px solid #5a21d5">Text here</div>
CSS codes
<p style="color:#5a21d5">Text here</p>
<div style="background-color:#5a21d5">Text here</div>
<div style="border: 4px solid #5a21d5">Text here</div>
#5a21d5 Color on white background
This is how a font and box color of #5a21d5 will look
on a white background.
#5a21d5 Color on black background
This is how a font and box color of #5a21d5 hex color will look
on a black background.