In RGB color space, #5a1a52 hex color has a red value of 90, a green value of 26 and a blue value of 82.
In CMYK color space (used in color printing), #5a1a52 hex color is composed of 0% cyan, 71.11% magenta, 8.89% yellow and 64.71% black.
#5a1a52 color has a hue of 307.5 degrees, a saturation of 55.17% and a lightness of 22.7%.
#5a1a52 hex color contains mainly RED.
The closest web safe color of #5a1a52 is #663366
#5a1a52 hex color has a decimal value of 5904978.
HEX | 5a1a52 | #5a1a52 |
---|---|---|
RGB | 90, 26, 82 | rgb(90, 26, 82) |
RGB Percent | 35.29, 10.2, 32.16 | rgb(35.29, 10.2, 32.16) |
CMYK | 0, 71, 9, 65 | |
HSL | 307.5°, 55.17, 22.7 | hsl(307.5, 55.17%, 22.7%) |
HSV | 307.5°, 71.1, 35.3 |
XYZ | 6.109, 3.522, 8.34 |
---|---|
Hunter Lab | 18.767, 25.263, -13.211 |
CIE-LAB | 22.024, 36.389, -19.379 |
CIE-LCH | 22.024, 41.227, 331.962 |
CIE-LUV | 0, 71.11, 8.89, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1a52
CMYK percent of color #5a1a52
Text with hexadecimal color #5a1a52
This text has a font color of #5a1a52
<p style="color:#5a1a52">Text here</p>
#5a1a52 Background Color
This box has a background color of #5a1a52
<div style="background-color:#5a1a52">Text here</div>
#5a1a52 Border Color
This box has a border color of #5a1a52
<div style="border: 4px solid #5a1a52">Text here</div>
CSS codes
<p style="color:#5a1a52">Text here</p>
<div style="background-color:#5a1a52">Text here</div>
<div style="border: 4px solid #5a1a52">Text here</div>
#5a1a52 Color on white background
This is how a font and box color of #5a1a52 will look
on a white background.
#5a1a52 Color on black background
This is how a font and box color of #5a1a52 hex color will look
on a black background.