In RGB color space, #5a1d52 hex color has a red value of 90, a green value of 29 and a blue value of 82.
In CMYK color space (used in color printing), #5a1d52 hex color is composed of 0% cyan, 67.78% magenta, 8.89% yellow and 64.71% black.
#5a1d52 color has a hue of 307.9 degrees, a saturation of 51.26% and a lightness of 23.3%.
#5a1d52 hex color contains mainly RED.
The closest web safe color of #5a1d52 is #663366
#5a1d52 hex color has a decimal value of 5905746.
HEX | 5a1d52 | #5a1d52 |
---|---|---|
RGB | 90, 29, 82 | rgb(90, 29, 82) |
RGB Percent | 35.29, 11.37, 32.16 | rgb(35.29, 11.37, 32.16) |
CMYK | 0, 68, 9, 65 | |
HSL | 307.9°, 51.26, 23.3 | hsl(307.9, 51.26%, 23.3%) |
HSV | 307.9°, 67.8, 35.3 |
XYZ | 6.179, 3.662, 8.364 |
---|---|
Hunter Lab | 19.136, 24.148, -12.519 |
CIE-LAB | 22.521, 35.008, -18.603 |
CIE-LCH | 22.521, 39.644, 332.014 |
CIE-LUV | 0, 67.78, 8.89, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1d52
CMYK percent of color #5a1d52
Text with hexadecimal color #5a1d52
This text has a font color of #5a1d52
<p style="color:#5a1d52">Text here</p>
#5a1d52 Background Color
This box has a background color of #5a1d52
<div style="background-color:#5a1d52">Text here</div>
#5a1d52 Border Color
This box has a border color of #5a1d52
<div style="border: 4px solid #5a1d52">Text here</div>
CSS codes
<p style="color:#5a1d52">Text here</p>
<div style="background-color:#5a1d52">Text here</div>
<div style="border: 4px solid #5a1d52">Text here</div>
#5a1d52 Color on white background
This is how a font and box color of #5a1d52 will look
on a white background.
#5a1d52 Color on black background
This is how a font and box color of #5a1d52 hex color will look
on a black background.