In RGB color space, #5a0498 hex color has a red value of 90, a green value of 4 and a blue value of 152.
In CMYK color space (used in color printing), #5a0498 hex color is composed of 40.79% cyan, 97.37% magenta, 0% yellow and 40.39% black.
#5a0498 color has a hue of 274.9 degrees, a saturation of 94.87% and a lightness of 30.6%.
#5a0498 hex color contains mainly BLUE.
The closest web safe color of #5a0498 is #660099
#5a0498 hex color has a decimal value of 5899416.
HEX | 5a0498 | #5a0498 |
---|---|---|
RGB | 90, 4, 152 | rgb(90, 4, 152) |
RGB Percent | 35.29, 1.57, 59.61 | rgb(35.29, 1.57, 59.61) |
CMYK | 41, 97, 0, 40 | |
HSL | 274.9°, 94.87, 30.6 | hsl(274.9, 94.87%, 30.6%) |
HSV | 274.9°, 97.4, 59.6 |
XYZ | 9.927, 4.527, 30.056 |
---|---|
Hunter Lab | 21.277, 46.048, -68.861 |
CIE-LAB | 25.342, 57.267, -58.943 |
CIE-LCH | 25.342, 82.181, 314.174 |
CIE-LUV | 40.79, 97.37, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #5a0498
CMYK percent of color #5a0498
Text with hexadecimal color #5a0498
This text has a font color of #5a0498
<p style="color:#5a0498">Text here</p>
#5a0498 Background Color
This box has a background color of #5a0498
<div style="background-color:#5a0498">Text here</div>
#5a0498 Border Color
This box has a border color of #5a0498
<div style="border: 4px solid #5a0498">Text here</div>
CSS codes
<p style="color:#5a0498">Text here</p>
<div style="background-color:#5a0498">Text here</div>
<div style="border: 4px solid #5a0498">Text here</div>
#5a0498 Color on white background
This is how a font and box color of #5a0498 will look
on a white background.
#5a0498 Color on black background
This is how a font and box color of #5a0498 hex color will look
on a black background.