In RGB color space, #5a3396 hex color has a red value of 90, a green value of 51 and a blue value of 150.
In CMYK color space (used in color printing), #5a3396 hex color is composed of 40% cyan, 66% magenta, 0% yellow and 41.18% black.
#5a3396 color has a hue of 263.6 degrees, a saturation of 49.25% and a lightness of 39.4%.
#5a3396 hex color contains mainly BLUE.
The closest web safe color of #5a3396 is #663399
#5a3396 hex color has a decimal value of 5911446.
HEX | 5a3396 | #5a3396 |
---|---|---|
RGB | 90, 51, 150 | rgb(90, 51, 150) |
RGB Percent | 35.29, 20, 58.82 | rgb(35.29, 20, 58.82) |
CMYK | 40, 66, 0, 41 | |
HSL | 263.6°, 49.25, 39.4 | hsl(263.6, 49.25%, 39.4%) |
HSV | 263.6°, 66, 58.8 |
XYZ | 10.905, 6.743, 29.581 |
---|---|
Hunter Lab | 25.967, 29.519, -49.364 |
CIE-LAB | 31.215, 39.448, -48.129 |
CIE-LCH | 31.215, 62.23, 309.339 |
CIE-LUV | 40, 66, 0, 41.18 |
Web Safe | 663399 |
RGB percent of color #5a3396
CMYK percent of color #5a3396
Text with hexadecimal color #5a3396
This text has a font color of #5a3396
<p style="color:#5a3396">Text here</p>
#5a3396 Background Color
This box has a background color of #5a3396
<div style="background-color:#5a3396">Text here</div>
#5a3396 Border Color
This box has a border color of #5a3396
<div style="border: 4px solid #5a3396">Text here</div>
CSS codes
<p style="color:#5a3396">Text here</p>
<div style="background-color:#5a3396">Text here</div>
<div style="border: 4px solid #5a3396">Text here</div>
#5a3396 Color on white background
This is how a font and box color of #5a3396 will look
on a white background.
#5a3396 Color on black background
This is how a font and box color of #5a3396 hex color will look
on a black background.