In RGB color space, #5a1a66 hex color has a red value of 90, a green value of 26 and a blue value of 102.
In CMYK color space (used in color printing), #5a1a66 hex color is composed of 11.76% cyan, 74.51% magenta, 0% yellow and 60% black.
#5a1a66 color has a hue of 290.5 degrees, a saturation of 59.38% and a lightness of 25.1%.
#5a1a66 hex color contains mainly BLUE.
The closest web safe color of #5a1a66 is #663366
#5a1a66 hex color has a decimal value of 5904998.
HEX | 5a1a66 | #5a1a66 |
---|---|---|
RGB | 90, 26, 102 | rgb(90, 26, 102) |
RGB Percent | 35.29, 10.2, 40 | rgb(35.29, 10.2, 40) |
CMYK | 12, 75, 0, 60 | |
HSL | 290.5°, 59.38, 25.1 | hsl(290.5, 59.38%, 25.1%) |
HSV | 290.5°, 74.5, 40 |
XYZ | 6.984, 3.872, 12.95 |
---|---|
Hunter Lab | 19.677, 28.919, -25.245 |
CIE-LAB | 23.244, 40.27, -30.694 |
CIE-LCH | 23.244, 50.634, 322.685 |
CIE-LUV | 11.76, 74.51, 0, 60 |
Web Safe | 663366 |
RGB percent of color #5a1a66
CMYK percent of color #5a1a66
Text with hexadecimal color #5a1a66
This text has a font color of #5a1a66
<p style="color:#5a1a66">Text here</p>
#5a1a66 Background Color
This box has a background color of #5a1a66
<div style="background-color:#5a1a66">Text here</div>
#5a1a66 Border Color
This box has a border color of #5a1a66
<div style="border: 4px solid #5a1a66">Text here</div>
CSS codes
<p style="color:#5a1a66">Text here</p>
<div style="background-color:#5a1a66">Text here</div>
<div style="border: 4px solid #5a1a66">Text here</div>
#5a1a66 Color on white background
This is how a font and box color of #5a1a66 will look
on a white background.
#5a1a66 Color on black background
This is how a font and box color of #5a1a66 hex color will look
on a black background.