In RGB color space, #5a21d3 hex color has a red value of 90, a green value of 33 and a blue value of 211.
In CMYK color space (used in color printing), #5a21d3 hex color is composed of 57.35% cyan, 84.36% magenta, 0% yellow and 17.25% black.
#5a21d3 color has a hue of 259.2 degrees, a saturation of 72.95% and a lightness of 47.8%.
#5a21d3 hex color contains mainly BLUE.
The closest web safe color of #5a21d3 is #6633cc
#5a21d3 hex color has a decimal value of 5906899.
HEX | 5a21d3 | #5a21d3 |
---|---|---|
RGB | 90, 33, 211 | rgb(90, 33, 211) |
RGB Percent | 35.29, 12.94, 82.75 | rgb(35.29, 12.94, 82.75) |
CMYK | 57, 84, 0, 17 | |
HSL | 259.2°, 72.95, 47.8 | hsl(259.2, 72.95%, 47.8%) |
HSV | 259.2°, 84.4, 82.7 |
XYZ | 16.518, 7.965, 62.295 |
---|---|
Hunter Lab | 28.222, 55.084, -111.115 |
CIE-LAB | 33.91, 63.896, -79.981 |
CIE-LCH | 33.91, 102.37, 308.621 |
CIE-LUV | 57.35, 84.36, 0, 17.25 |
Web Safe | 6633cc |
RGB percent of color #5a21d3
CMYK percent of color #5a21d3
Text with hexadecimal color #5a21d3
This text has a font color of #5a21d3
<p style="color:#5a21d3">Text here</p>
#5a21d3 Background Color
This box has a background color of #5a21d3
<div style="background-color:#5a21d3">Text here</div>
#5a21d3 Border Color
This box has a border color of #5a21d3
<div style="border: 4px solid #5a21d3">Text here</div>
CSS codes
<p style="color:#5a21d3">Text here</p>
<div style="background-color:#5a21d3">Text here</div>
<div style="border: 4px solid #5a21d3">Text here</div>
#5a21d3 Color on white background
This is how a font and box color of #5a21d3 will look
on a white background.
#5a21d3 Color on black background
This is how a font and box color of #5a21d3 hex color will look
on a black background.