In RGB color space, #5a3371 hex color has a red value of 90, a green value of 51 and a blue value of 113.
In CMYK color space (used in color printing), #5a3371 hex color is composed of 20.35% cyan, 54.87% magenta, 0% yellow and 55.69% black.
#5a3371 color has a hue of 277.7 degrees, a saturation of 37.8% and a lightness of 32.2%.
#5a3371 hex color contains mainly BLUE.
The closest web safe color of #5a3371 is #663366
#5a3371 hex color has a decimal value of 5911409.
HEX | 5a3371 | #5a3371 |
---|---|---|
RGB | 90, 51, 113 | rgb(90, 51, 113) |
RGB Percent | 35.29, 20, 44.31 | rgb(35.29, 20, 44.31) |
CMYK | 20, 55, 0, 56 | |
HSL | 277.7°, 37.8, 32.2 | hsl(277.7, 37.8%, 32.2%) |
HSV | 277.7°, 54.9, 44.3 |
XYZ | 8.381, 5.734, 16.288 |
---|---|
Hunter Lab | 23.946, 20.57, -23.567 |
CIE-LAB | 28.731, 29.74, -29.047 |
CIE-LCH | 28.731, 41.572, 315.675 |
CIE-LUV | 20.35, 54.87, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5a3371
CMYK percent of color #5a3371
Text with hexadecimal color #5a3371
This text has a font color of #5a3371
<p style="color:#5a3371">Text here</p>
#5a3371 Background Color
This box has a background color of #5a3371
<div style="background-color:#5a3371">Text here</div>
#5a3371 Border Color
This box has a border color of #5a3371
<div style="border: 4px solid #5a3371">Text here</div>
CSS codes
<p style="color:#5a3371">Text here</p>
<div style="background-color:#5a3371">Text here</div>
<div style="border: 4px solid #5a3371">Text here</div>
#5a3371 Color on white background
This is how a font and box color of #5a3371 will look
on a white background.
#5a3371 Color on black background
This is how a font and box color of #5a3371 hex color will look
on a black background.