In RGB color space, #5a1b84 hex color has a red value of 90, a green value of 27 and a blue value of 132.
In CMYK color space (used in color printing), #5a1b84 hex color is composed of 31.82% cyan, 79.55% magenta, 0% yellow and 48.24% black.
#5a1b84 color has a hue of 276 degrees, a saturation of 66.04% and a lightness of 31.2%.
#5a1b84 hex color contains mainly BLUE.
The closest web safe color of #5a1b84 is #663399
#5a1b84 hex color has a decimal value of 5905284.
HEX | 5a1b84 | #5a1b84 |
---|---|---|
RGB | 90, 27, 132 | rgb(90, 27, 132) |
RGB Percent | 35.29, 10.59, 51.76 | rgb(35.29, 10.59, 51.76) |
CMYK | 32, 80, 0, 48 | |
HSL | 276°, 66.04, 31.2 | hsl(276, 66.04%, 31.2%) |
HSV | 276°, 79.5, 51.8 |
XYZ | 8.773, 4.623, 22.26 |
---|---|
Hunter Lab | 21.501, 35.205, -46.332 |
CIE-LAB | 25.633, 46.514, -46.04 |
CIE-LCH | 25.633, 65.446, 315.293 |
CIE-LUV | 31.82, 79.55, 0, 48.24 |
Web Safe | 663399 |
RGB percent of color #5a1b84
CMYK percent of color #5a1b84
Text with hexadecimal color #5a1b84
This text has a font color of #5a1b84
<p style="color:#5a1b84">Text here</p>
#5a1b84 Background Color
This box has a background color of #5a1b84
<div style="background-color:#5a1b84">Text here</div>
#5a1b84 Border Color
This box has a border color of #5a1b84
<div style="border: 4px solid #5a1b84">Text here</div>
CSS codes
<p style="color:#5a1b84">Text here</p>
<div style="background-color:#5a1b84">Text here</div>
<div style="border: 4px solid #5a1b84">Text here</div>
#5a1b84 Color on white background
This is how a font and box color of #5a1b84 will look
on a white background.
#5a1b84 Color on black background
This is how a font and box color of #5a1b84 hex color will look
on a black background.