In RGB color space, #5a2aa6 hex color has a red value of 90, a green value of 42 and a blue value of 166.
In CMYK color space (used in color printing), #5a2aa6 hex color is composed of 45.78% cyan, 74.7% magenta, 0% yellow and 34.9% black.
#5a2aa6 color has a hue of 263.2 degrees, a saturation of 59.62% and a lightness of 40.8%.
#5a2aa6 hex color contains mainly BLUE.
The closest web safe color of #5a2aa6 is #663399
#5a2aa6 hex color has a decimal value of 5909158.
HEX | 5a2aa6 | #5a2aa6 |
---|---|---|
RGB | 90, 42, 166 | rgb(90, 42, 166) |
RGB Percent | 35.29, 16.47, 65.1 | rgb(35.29, 16.47, 65.1) |
CMYK | 46, 75, 0, 35 | |
HSL | 263.2°, 59.62, 40.8 | hsl(263.2, 59.62%, 40.8%) |
HSV | 263.2°, 74.7, 65.1 |
XYZ | 11.927, 6.583, 36.718 |
---|---|
Hunter Lab | 25.657, 38.077, -66.889 |
CIE-LAB | 30.838, 48.435, -58.454 |
CIE-LCH | 30.838, 75.913, 309.645 |
CIE-LUV | 45.78, 74.7, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5a2aa6
CMYK percent of color #5a2aa6
Text with hexadecimal color #5a2aa6
This text has a font color of #5a2aa6
<p style="color:#5a2aa6">Text here</p>
#5a2aa6 Background Color
This box has a background color of #5a2aa6
<div style="background-color:#5a2aa6">Text here</div>
#5a2aa6 Border Color
This box has a border color of #5a2aa6
<div style="border: 4px solid #5a2aa6">Text here</div>
CSS codes
<p style="color:#5a2aa6">Text here</p>
<div style="background-color:#5a2aa6">Text here</div>
<div style="border: 4px solid #5a2aa6">Text here</div>
#5a2aa6 Color on white background
This is how a font and box color of #5a2aa6 will look
on a white background.
#5a2aa6 Color on black background
This is how a font and box color of #5a2aa6 hex color will look
on a black background.