In RGB color space, #5a1487 hex color has a red value of 90, a green value of 20 and a blue value of 135.
In CMYK color space (used in color printing), #5a1487 hex color is composed of 33.33% cyan, 85.19% magenta, 0% yellow and 47.06% black.
#5a1487 color has a hue of 276.5 degrees, a saturation of 74.19% and a lightness of 30.4%.
#5a1487 hex color contains mainly BLUE.
The closest web safe color of #5a1487 is #660099
#5a1487 hex color has a decimal value of 5903495.
HEX | 5a1487 | #5a1487 |
---|---|---|
RGB | 90, 20, 135 | rgb(90, 20, 135) |
RGB Percent | 35.29, 7.84, 52.94 | rgb(35.29, 7.84, 52.94) |
CMYK | 33, 85, 0, 47 | |
HSL | 276.5°, 74.19, 30.4 | hsl(276.5, 74.19%, 30.4%) |
HSV | 276.5°, 85.2, 52.9 |
XYZ | 8.84, 4.423, 23.31 |
---|---|
Hunter Lab | 21.031, 38.225, -50.993 |
CIE-LAB | 25.023, 49.714, -48.914 |
CIE-LCH | 25.023, 69.743, 315.465 |
CIE-LUV | 33.33, 85.19, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #5a1487
CMYK percent of color #5a1487
Text with hexadecimal color #5a1487
This text has a font color of #5a1487
<p style="color:#5a1487">Text here</p>
#5a1487 Background Color
This box has a background color of #5a1487
<div style="background-color:#5a1487">Text here</div>
#5a1487 Border Color
This box has a border color of #5a1487
<div style="border: 4px solid #5a1487">Text here</div>
CSS codes
<p style="color:#5a1487">Text here</p>
<div style="background-color:#5a1487">Text here</div>
<div style="border: 4px solid #5a1487">Text here</div>
#5a1487 Color on white background
This is how a font and box color of #5a1487 will look
on a white background.
#5a1487 Color on black background
This is how a font and box color of #5a1487 hex color will look
on a black background.