In RGB color space, #5a2a6f hex color has a red value of 90, a green value of 42 and a blue value of 111.
In CMYK color space (used in color printing), #5a2a6f hex color is composed of 18.92% cyan, 62.16% magenta, 0% yellow and 56.47% black.
#5a2a6f color has a hue of 281.7 degrees, a saturation of 45.1% and a lightness of 30%.
#5a2a6f hex color contains mainly BLUE.
The closest web safe color of #5a2a6f is #663366
#5a2a6f hex color has a decimal value of 5909103.
HEX | 5a2a6f | #5a2a6f |
---|---|---|
RGB | 90, 42, 111 | rgb(90, 42, 111) |
RGB Percent | 35.29, 16.47, 43.53 | rgb(35.29, 16.47, 43.53) |
CMYK | 19, 62, 0, 56 | |
HSL | 281.7°, 45.1, 30 | hsl(281.7, 45.1%, 30%) |
HSV | 281.7°, 62.2, 43.5 |
XYZ | 7.914, 4.977, 15.583 |
---|---|
Hunter Lab | 22.309, 24.28, -25.798 |
CIE-LAB | 26.669, 34.416, -31.047 |
CIE-LCH | 26.669, 46.351, 317.946 |
CIE-LUV | 18.92, 62.16, 0, 56.47 |
Web Safe | 663366 |
RGB percent of color #5a2a6f
CMYK percent of color #5a2a6f
Text with hexadecimal color #5a2a6f
This text has a font color of #5a2a6f
<p style="color:#5a2a6f">Text here</p>
#5a2a6f Background Color
This box has a background color of #5a2a6f
<div style="background-color:#5a2a6f">Text here</div>
#5a2a6f Border Color
This box has a border color of #5a2a6f
<div style="border: 4px solid #5a2a6f">Text here</div>
CSS codes
<p style="color:#5a2a6f">Text here</p>
<div style="background-color:#5a2a6f">Text here</div>
<div style="border: 4px solid #5a2a6f">Text here</div>
#5a2a6f Color on white background
This is how a font and box color of #5a2a6f will look
on a white background.
#5a2a6f Color on black background
This is how a font and box color of #5a2a6f hex color will look
on a black background.