In RGB color space, #5a1178 hex color has a red value of 90, a green value of 17 and a blue value of 120.
In CMYK color space (used in color printing), #5a1178 hex color is composed of 25% cyan, 85.83% magenta, 0% yellow and 52.94% black.
#5a1178 color has a hue of 282.5 degrees, a saturation of 75.18% and a lightness of 26.9%.
#5a1178 hex color contains mainly BLUE.
The closest web safe color of #5a1178 is #660066
#5a1178 hex color has a decimal value of 5902712.
HEX | 5a1178 | #5a1178 |
---|---|---|
RGB | 90, 17, 120 | rgb(90, 17, 120) |
RGB Percent | 35.29, 6.67, 47.06 | rgb(35.29, 6.67, 47.06) |
CMYK | 25, 86, 0, 53 | |
HSL | 282.5°, 75.18, 26.9 | hsl(282.5, 75.18%, 26.9%) |
HSV | 282.5°, 85.8, 47.1 |
XYZ | 7.807, 3.931, 18.117 |
---|---|
Hunter Lab | 19.827, 35.59, -40.298 |
CIE-LAB | 23.442, 47.337, -42 |
CIE-LCH | 23.442, 63.283, 318.419 |
CIE-LUV | 25, 85.83, 0, 52.94 |
Web Safe | 660066 |
RGB percent of color #5a1178
CMYK percent of color #5a1178
Text with hexadecimal color #5a1178
This text has a font color of #5a1178
<p style="color:#5a1178">Text here</p>
#5a1178 Background Color
This box has a background color of #5a1178
<div style="background-color:#5a1178">Text here</div>
#5a1178 Border Color
This box has a border color of #5a1178
<div style="border: 4px solid #5a1178">Text here</div>
CSS codes
<p style="color:#5a1178">Text here</p>
<div style="background-color:#5a1178">Text here</div>
<div style="border: 4px solid #5a1178">Text here</div>
#5a1178 Color on white background
This is how a font and box color of #5a1178 will look
on a white background.
#5a1178 Color on black background
This is how a font and box color of #5a1178 hex color will look
on a black background.