In RGB color space, #5a1486 hex color has a red value of 90, a green value of 20 and a blue value of 134.
In CMYK color space (used in color printing), #5a1486 hex color is composed of 32.84% cyan, 85.07% magenta, 0% yellow and 47.45% black.
#5a1486 color has a hue of 276.8 degrees, a saturation of 74.03% and a lightness of 30.2%.
#5a1486 hex color contains mainly BLUE.
The closest web safe color of #5a1486 is #660099
#5a1486 hex color has a decimal value of 5903494.
HEX | 5a1486 | #5a1486 |
---|---|---|
RGB | 90, 20, 134 | rgb(90, 20, 134) |
RGB Percent | 35.29, 7.84, 52.55 | rgb(35.29, 7.84, 52.55) |
CMYK | 33, 85, 0, 47 | |
HSL | 276.8°, 74.03, 30.2 | hsl(276.8, 74.03%, 30.2%) |
HSV | 276.8°, 85.1, 52.5 |
XYZ | 8.77, 4.395, 22.94 |
---|---|
Hunter Lab | 20.964, 37.985, -50.203 |
CIE-LAB | 24.937, 49.488, -48.427 |
CIE-LCH | 24.937, 69.24, 315.621 |
CIE-LUV | 32.84, 85.07, 0, 47.45 |
Web Safe | 660099 |
RGB percent of color #5a1486
CMYK percent of color #5a1486
Text with hexadecimal color #5a1486
This text has a font color of #5a1486
<p style="color:#5a1486">Text here</p>
#5a1486 Background Color
This box has a background color of #5a1486
<div style="background-color:#5a1486">Text here</div>
#5a1486 Border Color
This box has a border color of #5a1486
<div style="border: 4px solid #5a1486">Text here</div>
CSS codes
<p style="color:#5a1486">Text here</p>
<div style="background-color:#5a1486">Text here</div>
<div style="border: 4px solid #5a1486">Text here</div>
#5a1486 Color on white background
This is how a font and box color of #5a1486 will look
on a white background.
#5a1486 Color on black background
This is how a font and box color of #5a1486 hex color will look
on a black background.