In RGB color space, #5a21c6 hex color has a red value of 90, a green value of 33 and a blue value of 198.
In CMYK color space (used in color printing), #5a21c6 hex color is composed of 54.55% cyan, 83.33% magenta, 0% yellow and 22.35% black.
#5a21c6 color has a hue of 260.7 degrees, a saturation of 71.43% and a lightness of 45.3%.
#5a21c6 hex color contains mainly BLUE.
The closest web safe color of #5a21c6 is #6633cc
#5a21c6 hex color has a decimal value of 5906886.
HEX | 5a21c6 | #5a21c6 |
---|---|---|
RGB | 90, 33, 198 | rgb(90, 33, 198) |
RGB Percent | 35.29, 12.94, 77.65 | rgb(35.29, 12.94, 77.65) |
CMYK | 55, 83, 0, 22 | |
HSL | 260.7°, 71.43, 45.3 | hsl(260.7, 71.43%, 45.3%) |
HSV | 260.7°, 83.3, 77.6 |
XYZ | 14.953, 7.339, 54.054 |
---|---|
Hunter Lab | 27.091, 51.117, -99.338 |
CIE-LAB | 32.567, 60.58, -74.627 |
CIE-LCH | 32.567, 96.12, 309.069 |
CIE-LUV | 54.55, 83.33, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5a21c6
CMYK percent of color #5a21c6
Text with hexadecimal color #5a21c6
This text has a font color of #5a21c6
<p style="color:#5a21c6">Text here</p>
#5a21c6 Background Color
This box has a background color of #5a21c6
<div style="background-color:#5a21c6">Text here</div>
#5a21c6 Border Color
This box has a border color of #5a21c6
<div style="border: 4px solid #5a21c6">Text here</div>
CSS codes
<p style="color:#5a21c6">Text here</p>
<div style="background-color:#5a21c6">Text here</div>
<div style="border: 4px solid #5a21c6">Text here</div>
#5a21c6 Color on white background
This is how a font and box color of #5a21c6 will look
on a white background.
#5a21c6 Color on black background
This is how a font and box color of #5a21c6 hex color will look
on a black background.