In RGB color space, #5a1987 hex color has a red value of 90, a green value of 25 and a blue value of 135.
In CMYK color space (used in color printing), #5a1987 hex color is composed of 33.33% cyan, 81.48% magenta, 0% yellow and 47.06% black.
#5a1987 color has a hue of 275.5 degrees, a saturation of 68.75% and a lightness of 31.4%.
#5a1987 hex color contains mainly BLUE.
The closest web safe color of #5a1987 is #660099
#5a1987 hex color has a decimal value of 5904775.
HEX | 5a1987 | #5a1987 |
---|---|---|
RGB | 90, 25, 135 | rgb(90, 25, 135) |
RGB Percent | 35.29, 9.8, 52.94 | rgb(35.29, 9.8, 52.94) |
CMYK | 33, 81, 0, 47 | |
HSL | 275.5°, 68.75, 31.4 | hsl(275.5, 68.75%, 31.4%) |
HSV | 275.5°, 81.5, 52.9 |
XYZ | 8.937, 4.618, 23.342 |
---|---|
Hunter Lab | 21.49, 36.627, -49.358 |
CIE-LAB | 25.617, 47.978, -47.944 |
CIE-LCH | 25.617, 67.827, 315.02 |
CIE-LUV | 33.33, 81.48, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #5a1987
CMYK percent of color #5a1987
Text with hexadecimal color #5a1987
This text has a font color of #5a1987
<p style="color:#5a1987">Text here</p>
#5a1987 Background Color
This box has a background color of #5a1987
<div style="background-color:#5a1987">Text here</div>
#5a1987 Border Color
This box has a border color of #5a1987
<div style="border: 4px solid #5a1987">Text here</div>
CSS codes
<p style="color:#5a1987">Text here</p>
<div style="background-color:#5a1987">Text here</div>
<div style="border: 4px solid #5a1987">Text here</div>
#5a1987 Color on white background
This is how a font and box color of #5a1987 will look
on a white background.
#5a1987 Color on black background
This is how a font and box color of #5a1987 hex color will look
on a black background.