In RGB color space, #5a0c7a hex color has a red value of 90, a green value of 12 and a blue value of 122.
In CMYK color space (used in color printing), #5a0c7a hex color is composed of 26.23% cyan, 90.16% magenta, 0% yellow and 52.16% black.
#5a0c7a color has a hue of 282.5 degrees, a saturation of 82.09% and a lightness of 26.3%.
#5a0c7a hex color contains mainly BLUE.
The closest web safe color of #5a0c7a is #660066
#5a0c7a hex color has a decimal value of 5901434.
HEX | 5a0c7a | #5a0c7a |
---|---|---|
RGB | 90, 12, 122 | rgb(90, 12, 122) |
RGB Percent | 35.29, 4.71, 47.84 | rgb(35.29, 4.71, 47.84) |
CMYK | 26, 90, 0, 52 | |
HSL | 282.5°, 82.09, 26.3 | hsl(282.5, 82.09%, 26.3%) |
HSV | 282.5°, 90.2, 47.8 |
XYZ | 7.861, 3.842, 18.74 |
---|---|
Hunter Lab | 19.601, 37.286, -42.965 |
CIE-LAB | 23.142, 49.13, -43.764 |
CIE-LCH | 23.142, 65.795, 318.306 |
CIE-LUV | 26.23, 90.16, 0, 52.16 |
Web Safe | 660066 |
RGB percent of color #5a0c7a
CMYK percent of color #5a0c7a
Text with hexadecimal color #5a0c7a
This text has a font color of #5a0c7a
<p style="color:#5a0c7a">Text here</p>
#5a0c7a Background Color
This box has a background color of #5a0c7a
<div style="background-color:#5a0c7a">Text here</div>
#5a0c7a Border Color
This box has a border color of #5a0c7a
<div style="border: 4px solid #5a0c7a">Text here</div>
CSS codes
<p style="color:#5a0c7a">Text here</p>
<div style="background-color:#5a0c7a">Text here</div>
<div style="border: 4px solid #5a0c7a">Text here</div>
#5a0c7a Color on white background
This is how a font and box color of #5a0c7a will look
on a white background.
#5a0c7a Color on black background
This is how a font and box color of #5a0c7a hex color will look
on a black background.