In RGB color space, #5a3171 hex color has a red value of 90, a green value of 49 and a blue value of 113.
In CMYK color space (used in color printing), #5a3171 hex color is composed of 20.35% cyan, 56.64% magenta, 0% yellow and 55.69% black.
#5a3171 color has a hue of 278.4 degrees, a saturation of 39.51% and a lightness of 31.8%.
#5a3171 hex color contains mainly BLUE.
The closest web safe color of #5a3171 is #663366
#5a3171 hex color has a decimal value of 5910897.
HEX | 5a3171 | #5a3171 |
---|---|---|
RGB | 90, 49, 113 | rgb(90, 49, 113) |
RGB Percent | 35.29, 19.22, 44.31 | rgb(35.29, 19.22, 44.31) |
CMYK | 20, 57, 0, 56 | |
HSL | 278.4°, 39.51, 31.8 | hsl(278.4, 39.51%, 31.8%) |
HSV | 278.4°, 56.6, 44.3 |
XYZ | 8.295, 5.563, 16.259 |
---|---|
Hunter Lab | 23.586, 21.501, -24.361 |
CIE-LAB | 28.282, 30.913, -29.758 |
CIE-LCH | 28.282, 42.909, 316.091 |
CIE-LUV | 20.35, 56.64, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #5a3171
CMYK percent of color #5a3171
Text with hexadecimal color #5a3171
This text has a font color of #5a3171
<p style="color:#5a3171">Text here</p>
#5a3171 Background Color
This box has a background color of #5a3171
<div style="background-color:#5a3171">Text here</div>
#5a3171 Border Color
This box has a border color of #5a3171
<div style="border: 4px solid #5a3171">Text here</div>
CSS codes
<p style="color:#5a3171">Text here</p>
<div style="background-color:#5a3171">Text here</div>
<div style="border: 4px solid #5a3171">Text here</div>
#5a3171 Color on white background
This is how a font and box color of #5a3171 will look
on a white background.
#5a3171 Color on black background
This is how a font and box color of #5a3171 hex color will look
on a black background.