In RGB color space, #5a1780 hex color has a red value of 90, a green value of 23 and a blue value of 128.
In CMYK color space (used in color printing), #5a1780 hex color is composed of 29.69% cyan, 82.03% magenta, 0% yellow and 49.8% black.
#5a1780 color has a hue of 278.3 degrees, a saturation of 69.54% and a lightness of 29.6%.
#5a1780 hex color contains mainly BLUE.
The closest web safe color of #5a1780 is #660099
#5a1780 hex color has a decimal value of 5904256.
HEX | 5a1780 | #5a1780 |
---|---|---|
RGB | 90, 23, 128 | rgb(90, 23, 128) |
RGB Percent | 35.29, 9.02, 50.2 | rgb(35.29, 9.02, 50.2) |
CMYK | 30, 82, 0, 50 | |
HSL | 278.3°, 69.54, 29.6 | hsl(278.3, 69.54%, 29.6%) |
HSV | 278.3°, 82, 50.2 |
XYZ | 8.419, 4.345, 20.817 |
---|---|
Hunter Lab | 20.845, 35.617, -44.62 |
CIE-LAB | 24.781, 47.104, -44.905 |
CIE-LCH | 24.781, 65.079, 316.369 |
CIE-LUV | 29.69, 82.03, 0, 49.8 |
Web Safe | 660099 |
RGB percent of color #5a1780
CMYK percent of color #5a1780
Text with hexadecimal color #5a1780
This text has a font color of #5a1780
<p style="color:#5a1780">Text here</p>
#5a1780 Background Color
This box has a background color of #5a1780
<div style="background-color:#5a1780">Text here</div>
#5a1780 Border Color
This box has a border color of #5a1780
<div style="border: 4px solid #5a1780">Text here</div>
CSS codes
<p style="color:#5a1780">Text here</p>
<div style="background-color:#5a1780">Text here</div>
<div style="border: 4px solid #5a1780">Text here</div>
#5a1780 Color on white background
This is how a font and box color of #5a1780 will look
on a white background.
#5a1780 Color on black background
This is how a font and box color of #5a1780 hex color will look
on a black background.