In RGB color space, #5a1772 hex color has a red value of 90, a green value of 23 and a blue value of 114.
In CMYK color space (used in color printing), #5a1772 hex color is composed of 21.05% cyan, 79.82% magenta, 0% yellow and 55.29% black.
#5a1772 color has a hue of 284.2 degrees, a saturation of 66.42% and a lightness of 26.9%.
#5a1772 hex color contains mainly BLUE.
The closest web safe color of #5a1772 is #660066
#5a1772 hex color has a decimal value of 5904242.
HEX | 5a1772 | #5a1772 |
---|---|---|
RGB | 90, 23, 114 | rgb(90, 23, 114) |
RGB Percent | 35.29, 9.02, 44.71 | rgb(35.29, 9.02, 44.71) |
CMYK | 21, 80, 0, 55 | |
HSL | 284.2°, 66.42, 26.9 | hsl(284.2, 66.42%, 26.9%) |
HSV | 284.2°, 79.8, 44.7 |
XYZ | 7.56, 4.001, 16.293 |
---|---|
Hunter Lab | 20.002, 32.46, -34.293 |
CIE-LAB | 23.675, 44.018, -37.775 |
CIE-LCH | 23.675, 58.005, 319.365 |
CIE-LUV | 21.05, 79.82, 0, 55.29 |
Web Safe | 660066 |
RGB percent of color #5a1772
CMYK percent of color #5a1772
Text with hexadecimal color #5a1772
This text has a font color of #5a1772
<p style="color:#5a1772">Text here</p>
#5a1772 Background Color
This box has a background color of #5a1772
<div style="background-color:#5a1772">Text here</div>
#5a1772 Border Color
This box has a border color of #5a1772
<div style="border: 4px solid #5a1772">Text here</div>
CSS codes
<p style="color:#5a1772">Text here</p>
<div style="background-color:#5a1772">Text here</div>
<div style="border: 4px solid #5a1772">Text here</div>
#5a1772 Color on white background
This is how a font and box color of #5a1772 will look
on a white background.
#5a1772 Color on black background
This is how a font and box color of #5a1772 hex color will look
on a black background.