In RGB color space, #5a1171 hex color has a red value of 90, a green value of 17 and a blue value of 113.
In CMYK color space (used in color printing), #5a1171 hex color is composed of 20.35% cyan, 84.96% magenta, 0% yellow and 55.69% black.
#5a1171 color has a hue of 285.6 degrees, a saturation of 73.85% and a lightness of 25.5%.
#5a1171 hex color contains mainly BLUE.
The closest web safe color of #5a1171 is #660066
#5a1171 hex color has a decimal value of 5902705.
HEX | 5a1171 | #5a1171 |
---|---|---|
RGB | 90, 17, 113 | rgb(90, 17, 113) |
RGB Percent | 35.29, 6.67, 44.31 | rgb(35.29, 6.67, 44.31) |
CMYK | 20, 85, 0, 56 | |
HSL | 285.6°, 73.85, 25.5 | hsl(285.6, 73.85%, 25.5%) |
HSV | 285.6°, 85, 44.3 |
XYZ | 7.398, 3.767, 15.96 |
---|---|
Hunter Lab | 19.409, 34.073, -35.169 |
CIE-LAB | 22.886, 45.872, -38.408 |
CIE-LCH | 22.886, 59.828, 320.061 |
CIE-LUV | 20.35, 84.96, 0, 55.69 |
Web Safe | 660066 |
RGB percent of color #5a1171
CMYK percent of color #5a1171
Text with hexadecimal color #5a1171
This text has a font color of #5a1171
<p style="color:#5a1171">Text here</p>
#5a1171 Background Color
This box has a background color of #5a1171
<div style="background-color:#5a1171">Text here</div>
#5a1171 Border Color
This box has a border color of #5a1171
<div style="border: 4px solid #5a1171">Text here</div>
CSS codes
<p style="color:#5a1171">Text here</p>
<div style="background-color:#5a1171">Text here</div>
<div style="border: 4px solid #5a1171">Text here</div>
#5a1171 Color on white background
This is how a font and box color of #5a1171 will look
on a white background.
#5a1171 Color on black background
This is how a font and box color of #5a1171 hex color will look
on a black background.