In RGB color space, #5a1871 hex color has a red value of 90, a green value of 24 and a blue value of 113.
In CMYK color space (used in color printing), #5a1871 hex color is composed of 20.35% cyan, 78.76% magenta, 0% yellow and 55.69% black.
#5a1871 color has a hue of 284.5 degrees, a saturation of 64.96% and a lightness of 26.9%.
#5a1871 hex color contains mainly BLUE.
The closest web safe color of #5a1871 is #660066
#5a1871 hex color has a decimal value of 5904497.
HEX | 5a1871 | #5a1871 |
---|---|---|
RGB | 90, 24, 113 | rgb(90, 24, 113) |
RGB Percent | 35.29, 9.41, 44.31 | rgb(35.29, 9.41, 44.31) |
CMYK | 20, 79, 0, 56 | |
HSL | 284.5°, 64.96, 26.9 | hsl(284.5, 64.96%, 26.9%) |
HSV | 284.5°, 78.8, 44.3 |
XYZ | 7.524, 4.019, 16.002 |
---|---|
Hunter Lab | 20.047, 31.91, -33.292 |
CIE-LAB | 23.734, 43.42, -37.037 |
CIE-LCH | 23.734, 57.07, 319.536 |
CIE-LUV | 20.35, 78.76, 0, 55.69 |
Web Safe | 660066 |
RGB percent of color #5a1871
CMYK percent of color #5a1871
Text with hexadecimal color #5a1871
This text has a font color of #5a1871
<p style="color:#5a1871">Text here</p>
#5a1871 Background Color
This box has a background color of #5a1871
<div style="background-color:#5a1871">Text here</div>
#5a1871 Border Color
This box has a border color of #5a1871
<div style="border: 4px solid #5a1871">Text here</div>
CSS codes
<p style="color:#5a1871">Text here</p>
<div style="background-color:#5a1871">Text here</div>
<div style="border: 4px solid #5a1871">Text here</div>
#5a1871 Color on white background
This is how a font and box color of #5a1871 will look
on a white background.
#5a1871 Color on black background
This is how a font and box color of #5a1871 hex color will look
on a black background.