In RGB color space, #5a3997 hex color has a red value of 90, a green value of 57 and a blue value of 151.
In CMYK color space (used in color printing), #5a3997 hex color is composed of 40.4% cyan, 62.25% magenta, 0% yellow and 40.78% black.
#5a3997 color has a hue of 261.1 degrees, a saturation of 45.19% and a lightness of 40.8%.
#5a3997 hex color contains mainly BLUE.
The closest web safe color of #5a3997 is #663399
#5a3997 hex color has a decimal value of 5912983.
HEX | 5a3997 | #5a3997 |
---|---|---|
RGB | 90, 57, 151 | rgb(90, 57, 151) |
RGB Percent | 35.29, 22.35, 59.22 | rgb(35.29, 22.35, 59.22) |
CMYK | 40, 62, 0, 41 | |
HSL | 261.1°, 45.19, 40.8 | hsl(261.1, 45.19%, 40.8%) |
HSV | 261.1°, 62.3, 59.2 |
XYZ | 11.265, 7.334, 30.1 |
---|---|
Hunter Lab | 27.081, 26.858, -46.942 |
CIE-LAB | 32.555, 36.312, -46.57 |
CIE-LCH | 32.555, 59.054, 307.945 |
CIE-LUV | 40.4, 62.25, 0, 40.78 |
Web Safe | 663399 |
RGB percent of color #5a3997
CMYK percent of color #5a3997
Text with hexadecimal color #5a3997
This text has a font color of #5a3997
<p style="color:#5a3997">Text here</p>
#5a3997 Background Color
This box has a background color of #5a3997
<div style="background-color:#5a3997">Text here</div>
#5a3997 Border Color
This box has a border color of #5a3997
<div style="border: 4px solid #5a3997">Text here</div>
CSS codes
<p style="color:#5a3997">Text here</p>
<div style="background-color:#5a3997">Text here</div>
<div style="border: 4px solid #5a3997">Text here</div>
#5a3997 Color on white background
This is how a font and box color of #5a3997 will look
on a white background.
#5a3997 Color on black background
This is how a font and box color of #5a3997 hex color will look
on a black background.