In RGB color space, #5a1581 hex color has a red value of 90, a green value of 21 and a blue value of 129.
In CMYK color space (used in color printing), #5a1581 hex color is composed of 30.23% cyan, 83.72% magenta, 0% yellow and 49.41% black.
#5a1581 color has a hue of 278.3 degrees, a saturation of 72% and a lightness of 29.4%.
#5a1581 hex color contains mainly BLUE.
The closest web safe color of #5a1581 is #660099
#5a1581 hex color has a decimal value of 5903745.
HEX | 5a1581 | #5a1581 |
---|---|---|
RGB | 90, 21, 129 | rgb(90, 21, 129) |
RGB Percent | 35.29, 8.24, 50.59 | rgb(35.29, 8.24, 50.59) |
CMYK | 30, 84, 0, 49 | |
HSL | 278.3°, 72, 29.4 | hsl(278.3, 72%, 29.4%) |
HSV | 278.3°, 83.7, 50.6 |
XYZ | 8.447, 4.295, 21.153 |
---|---|
Hunter Lab | 20.724, 36.487, -46.009 |
CIE-LAB | 24.624, 48.028, -45.793 |
CIE-LCH | 24.624, 66.36, 316.365 |
CIE-LUV | 30.23, 83.72, 0, 49.41 |
Web Safe | 660099 |
RGB percent of color #5a1581
CMYK percent of color #5a1581
Text with hexadecimal color #5a1581
This text has a font color of #5a1581
<p style="color:#5a1581">Text here</p>
#5a1581 Background Color
This box has a background color of #5a1581
<div style="background-color:#5a1581">Text here</div>
#5a1581 Border Color
This box has a border color of #5a1581
<div style="border: 4px solid #5a1581">Text here</div>
CSS codes
<p style="color:#5a1581">Text here</p>
<div style="background-color:#5a1581">Text here</div>
<div style="border: 4px solid #5a1581">Text here</div>
#5a1581 Color on white background
This is how a font and box color of #5a1581 will look
on a white background.
#5a1581 Color on black background
This is how a font and box color of #5a1581 hex color will look
on a black background.