In RGB color space, #5a1b57 hex color has a red value of 90, a green value of 27 and a blue value of 87.
In CMYK color space (used in color printing), #5a1b57 hex color is composed of 0% cyan, 70% magenta, 3.33% yellow and 64.71% black.
#5a1b57 color has a hue of 302.9 degrees, a saturation of 53.85% and a lightness of 22.9%.
#5a1b57 hex color contains mainly RED.
The closest web safe color of #5a1b57 is #663366
#5a1b57 hex color has a decimal value of 5905239.
HEX | 5a1b57 | #5a1b57 |
---|---|---|
RGB | 90, 27, 87 | rgb(90, 27, 87) |
RGB Percent | 35.29, 10.59, 34.12 | rgb(35.29, 10.59, 34.12) |
CMYK | 0, 70, 3, 65 | |
HSL | 302.9°, 53.85, 22.9 | hsl(302.9, 53.85%, 22.9%) |
HSV | 302.9°, 70, 35.3 |
XYZ | 6.329, 3.646, 9.387 |
---|---|
Hunter Lab | 19.095, 25.75, -15.781 |
CIE-LAB | 22.465, 36.864, -22.034 |
CIE-LCH | 22.465, 42.947, 329.133 |
CIE-LUV | 0, 70, 3.33, 64.71 |
Web Safe | 663366 |
RGB percent of color #5a1b57
CMYK percent of color #5a1b57
Text with hexadecimal color #5a1b57
This text has a font color of #5a1b57
<p style="color:#5a1b57">Text here</p>
#5a1b57 Background Color
This box has a background color of #5a1b57
<div style="background-color:#5a1b57">Text here</div>
#5a1b57 Border Color
This box has a border color of #5a1b57
<div style="border: 4px solid #5a1b57">Text here</div>
CSS codes
<p style="color:#5a1b57">Text here</p>
<div style="background-color:#5a1b57">Text here</div>
<div style="border: 4px solid #5a1b57">Text here</div>
#5a1b57 Color on white background
This is how a font and box color of #5a1b57 will look
on a white background.
#5a1b57 Color on black background
This is how a font and box color of #5a1b57 hex color will look
on a black background.