In RGB color space, #5a0c72 hex color has a red value of 90, a green value of 12 and a blue value of 114.
In CMYK color space (used in color printing), #5a0c72 hex color is composed of 21.05% cyan, 89.47% magenta, 0% yellow and 55.29% black.
#5a0c72 color has a hue of 285.9 degrees, a saturation of 80.95% and a lightness of 24.7%.
#5a0c72 hex color contains mainly BLUE.
The closest web safe color of #5a0c72 is #660066
#5a0c72 hex color has a decimal value of 5901426.
HEX | 5a0c72 | #5a0c72 |
---|---|---|
RGB | 90, 12, 114 | rgb(90, 12, 114) |
RGB Percent | 35.29, 4.71, 44.71 | rgb(35.29, 4.71, 44.71) |
CMYK | 21, 89, 0, 55 | |
HSL | 285.9°, 80.95, 24.7 | hsl(285.9, 80.95%, 24.7%) |
HSV | 285.9°, 89.5, 44.7 |
XYZ | 7.385, 3.652, 16.235 |
---|---|
Hunter Lab | 19.11, 35.537, -36.992 |
CIE-LAB | 22.486, 47.47, -39.699 |
CIE-LCH | 22.486, 61.882, 320.094 |
CIE-LUV | 21.05, 89.47, 0, 55.29 |
Web Safe | 660066 |
RGB percent of color #5a0c72
CMYK percent of color #5a0c72
Text with hexadecimal color #5a0c72
This text has a font color of #5a0c72
<p style="color:#5a0c72">Text here</p>
#5a0c72 Background Color
This box has a background color of #5a0c72
<div style="background-color:#5a0c72">Text here</div>
#5a0c72 Border Color
This box has a border color of #5a0c72
<div style="border: 4px solid #5a0c72">Text here</div>
CSS codes
<p style="color:#5a0c72">Text here</p>
<div style="background-color:#5a0c72">Text here</div>
<div style="border: 4px solid #5a0c72">Text here</div>
#5a0c72 Color on white background
This is how a font and box color of #5a0c72 will look
on a white background.
#5a0c72 Color on black background
This is how a font and box color of #5a0c72 hex color will look
on a black background.