In RGB color space, #5a3366 hex color has a red value of 90, a green value of 51 and a blue value of 102.
In CMYK color space (used in color printing), #5a3366 hex color is composed of 11.76% cyan, 50% magenta, 0% yellow and 60% black.
#5a3366 color has a hue of 285.9 degrees, a saturation of 33.33% and a lightness of 30%.
#5a3366 hex color contains mainly BLUE.
The closest web safe color of #5a3366 is #663366
#5a3366 hex color has a decimal value of 5911398.
HEX | 5a3366 | #5a3366 |
---|---|---|
RGB | 90, 51, 102 | rgb(90, 51, 102) |
RGB Percent | 35.29, 20, 40 | rgb(35.29, 20, 40) |
CMYK | 12, 50, 0, 60 | |
HSL | 285.9°, 33.33, 30 | hsl(285.9, 33.33%, 30%) |
HSV | 285.9°, 50, 40 |
XYZ | 7.799, 5.501, 13.221 |
---|---|
Hunter Lab | 23.454, 18.31, -17.003 |
CIE-LAB | 28.117, 27.113, -22.973 |
CIE-LCH | 28.117, 35.537, 319.725 |
CIE-LUV | 11.76, 50, 0, 60 |
Web Safe | 663366 |
RGB percent of color #5a3366
CMYK percent of color #5a3366
Text with hexadecimal color #5a3366
This text has a font color of #5a3366
<p style="color:#5a3366">Text here</p>
#5a3366 Background Color
This box has a background color of #5a3366
<div style="background-color:#5a3366">Text here</div>
#5a3366 Border Color
This box has a border color of #5a3366
<div style="border: 4px solid #5a3366">Text here</div>
CSS codes
<p style="color:#5a3366">Text here</p>
<div style="background-color:#5a3366">Text here</div>
<div style="border: 4px solid #5a3366">Text here</div>
#5a3366 Color on white background
This is how a font and box color of #5a3366 will look
on a white background.
#5a3366 Color on black background
This is how a font and box color of #5a3366 hex color will look
on a black background.