In RGB color space, #5a20c6 hex color has a red value of 90, a green value of 32 and a blue value of 198.
In CMYK color space (used in color printing), #5a20c6 hex color is composed of 54.55% cyan, 83.84% magenta, 0% yellow and 22.35% black.
#5a20c6 color has a hue of 261 degrees, a saturation of 72.17% and a lightness of 45.1%.
#5a20c6 hex color contains mainly BLUE.
The closest web safe color of #5a20c6 is #6633cc
#5a20c6 hex color has a decimal value of 5906630.
HEX | 5a20c6 | #5a20c6 |
---|---|---|
RGB | 90, 32, 198 | rgb(90, 32, 198) |
RGB Percent | 35.29, 12.55, 77.65 | rgb(35.29, 12.55, 77.65) |
CMYK | 55, 84, 0, 22 | |
HSL | 261°, 72.17, 45.1 | hsl(261, 72.17%, 45.1%) |
HSV | 261°, 83.8, 77.6 |
XYZ | 14.926, 7.284, 54.045 |
---|---|
Hunter Lab | 26.989, 51.488, -99.835 |
CIE-LAB | 32.445, 60.942, -74.828 |
CIE-LCH | 32.445, 96.505, 309.16 |
CIE-LUV | 54.55, 83.84, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5a20c6
CMYK percent of color #5a20c6
Text with hexadecimal color #5a20c6
This text has a font color of #5a20c6
<p style="color:#5a20c6">Text here</p>
#5a20c6 Background Color
This box has a background color of #5a20c6
<div style="background-color:#5a20c6">Text here</div>
#5a20c6 Border Color
This box has a border color of #5a20c6
<div style="border: 4px solid #5a20c6">Text here</div>
CSS codes
<p style="color:#5a20c6">Text here</p>
<div style="background-color:#5a20c6">Text here</div>
<div style="border: 4px solid #5a20c6">Text here</div>
#5a20c6 Color on white background
This is how a font and box color of #5a20c6 will look
on a white background.
#5a20c6 Color on black background
This is how a font and box color of #5a20c6 hex color will look
on a black background.