In RGB color space, #5a20a7 hex color has a red value of 90, a green value of 32 and a blue value of 167.
In CMYK color space (used in color printing), #5a20a7 hex color is composed of 46.11% cyan, 80.84% magenta, 0% yellow and 34.51% black.
#5a20a7 color has a hue of 265.8 degrees, a saturation of 67.84% and a lightness of 39%.
#5a20a7 hex color contains mainly BLUE.
The closest web safe color of #5a20a7 is #663399
#5a20a7 hex color has a decimal value of 5906599.
HEX | 5a20a7 | #5a20a7 |
---|---|---|
RGB | 90, 32, 167 | rgb(90, 32, 167) |
RGB Percent | 35.29, 12.55, 65.49 | rgb(35.29, 12.55, 65.49) |
CMYK | 46, 81, 0, 35 | |
HSL | 265.8°, 67.84, 39 | hsl(265.8, 67.84%, 39%) |
HSV | 265.8°, 80.8, 65.5 |
XYZ | 11.708, 5.997, 37.1 |
---|---|
Hunter Lab | 24.489, 42.485, -72.681 |
CIE-LAB | 29.405, 53.071, -61.407 |
CIE-LCH | 29.405, 81.162, 310.835 |
CIE-LUV | 46.11, 80.84, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #5a20a7
CMYK percent of color #5a20a7
Text with hexadecimal color #5a20a7
This text has a font color of #5a20a7
<p style="color:#5a20a7">Text here</p>
#5a20a7 Background Color
This box has a background color of #5a20a7
<div style="background-color:#5a20a7">Text here</div>
#5a20a7 Border Color
This box has a border color of #5a20a7
<div style="border: 4px solid #5a20a7">Text here</div>
CSS codes
<p style="color:#5a20a7">Text here</p>
<div style="background-color:#5a20a7">Text here</div>
<div style="border: 4px solid #5a20a7">Text here</div>
#5a20a7 Color on white background
This is how a font and box color of #5a20a7 will look
on a white background.
#5a20a7 Color on black background
This is how a font and box color of #5a20a7 hex color will look
on a black background.