In RGB color space, #5a1586 hex color has a red value of 90, a green value of 21 and a blue value of 134.
In CMYK color space (used in color printing), #5a1586 hex color is composed of 32.84% cyan, 84.33% magenta, 0% yellow and 47.45% black.
#5a1586 color has a hue of 276.6 degrees, a saturation of 72.9% and a lightness of 30.4%.
#5a1586 hex color contains mainly BLUE.
The closest web safe color of #5a1586 is #660099
#5a1586 hex color has a decimal value of 5903750.
HEX | 5a1586 | #5a1586 |
---|---|---|
RGB | 90, 21, 134 | rgb(90, 21, 134) |
RGB Percent | 35.29, 8.24, 52.55 | rgb(35.29, 8.24, 52.55) |
CMYK | 33, 84, 0, 47 | |
HSL | 276.6°, 72.9, 30.4 | hsl(276.6, 72.9%, 30.4%) |
HSV | 276.6°, 84.3, 52.5 |
XYZ | 8.788, 4.431, 22.946 |
---|---|
Hunter Lab | 21.05, 37.683, -49.896 |
CIE-LAB | 25.048, 49.162, -48.246 |
CIE-LCH | 25.048, 68.881, 315.539 |
CIE-LUV | 32.84, 84.33, 0, 47.45 |
Web Safe | 660099 |
RGB percent of color #5a1586
CMYK percent of color #5a1586
Text with hexadecimal color #5a1586
This text has a font color of #5a1586
<p style="color:#5a1586">Text here</p>
#5a1586 Background Color
This box has a background color of #5a1586
<div style="background-color:#5a1586">Text here</div>
#5a1586 Border Color
This box has a border color of #5a1586
<div style="border: 4px solid #5a1586">Text here</div>
CSS codes
<p style="color:#5a1586">Text here</p>
<div style="background-color:#5a1586">Text here</div>
<div style="border: 4px solid #5a1586">Text here</div>
#5a1586 Color on white background
This is how a font and box color of #5a1586 will look
on a white background.
#5a1586 Color on black background
This is how a font and box color of #5a1586 hex color will look
on a black background.