In RGB color space, #5a1989 hex color has a red value of 90, a green value of 25 and a blue value of 137.
In CMYK color space (used in color printing), #5a1989 hex color is composed of 34.31% cyan, 81.75% magenta, 0% yellow and 46.27% black.
#5a1989 color has a hue of 274.8 degrees, a saturation of 69.14% and a lightness of 31.8%.
#5a1989 hex color contains mainly BLUE.
The closest web safe color of #5a1989 is #660099
#5a1989 hex color has a decimal value of 5904777.
HEX | 5a1989 | #5a1989 |
---|---|---|
RGB | 90, 25, 137 | rgb(90, 25, 137) |
RGB Percent | 35.29, 9.8, 53.73 | rgb(35.29, 9.8, 53.73) |
CMYK | 34, 82, 0, 46 | |
HSL | 274.8°, 69.14, 31.8 | hsl(274.8, 69.14%, 31.8%) |
HSV | 274.8°, 81.8, 53.7 |
XYZ | 9.079, 4.675, 24.091 |
---|---|
Hunter Lab | 21.622, 37.114, -50.926 |
CIE-LAB | 25.788, 48.441, -48.917 |
CIE-LCH | 25.788, 68.843, 314.72 |
CIE-LUV | 34.31, 81.75, 0, 46.27 |
Web Safe | 660099 |
RGB percent of color #5a1989
CMYK percent of color #5a1989
Text with hexadecimal color #5a1989
This text has a font color of #5a1989
<p style="color:#5a1989">Text here</p>
#5a1989 Background Color
This box has a background color of #5a1989
<div style="background-color:#5a1989">Text here</div>
#5a1989 Border Color
This box has a border color of #5a1989
<div style="border: 4px solid #5a1989">Text here</div>
CSS codes
<p style="color:#5a1989">Text here</p>
<div style="background-color:#5a1989">Text here</div>
<div style="border: 4px solid #5a1989">Text here</div>
#5a1989 Color on white background
This is how a font and box color of #5a1989 will look
on a white background.
#5a1989 Color on black background
This is how a font and box color of #5a1989 hex color will look
on a black background.