In RGB color space, #5a0c7f hex color has a red value of 90, a green value of 12 and a blue value of 127.
In CMYK color space (used in color printing), #5a0c7f hex color is composed of 29.13% cyan, 90.55% magenta, 0% yellow and 50.2% black.
#5a0c7f color has a hue of 280.7 degrees, a saturation of 82.73% and a lightness of 27.3%.
#5a0c7f hex color contains mainly BLUE.
The closest web safe color of #5a0c7f is #660066
#5a0c7f hex color has a decimal value of 5901439.
HEX | 5a0c7f | #5a0c7f |
---|---|---|
RGB | 90, 12, 127 | rgb(90, 12, 127) |
RGB Percent | 35.29, 4.71, 49.8 | rgb(35.29, 4.71, 49.8) |
CMYK | 29, 91, 0, 50 | |
HSL | 280.7°, 82.73, 27.3 | hsl(280.7, 82.73%, 27.3%) |
HSV | 280.7°, 90.6, 49.8 |
XYZ | 8.179, 3.969, 20.414 |
---|---|
Hunter Lab | 19.922, 38.418, -46.808 |
CIE-LAB | 23.569, 50.19, -46.247 |
CIE-LCH | 23.569, 68.248, 317.341 |
CIE-LUV | 29.13, 90.55, 0, 50.2 |
Web Safe | 660066 |
RGB percent of color #5a0c7f
CMYK percent of color #5a0c7f
Text with hexadecimal color #5a0c7f
This text has a font color of #5a0c7f
<p style="color:#5a0c7f">Text here</p>
#5a0c7f Background Color
This box has a background color of #5a0c7f
<div style="background-color:#5a0c7f">Text here</div>
#5a0c7f Border Color
This box has a border color of #5a0c7f
<div style="border: 4px solid #5a0c7f">Text here</div>
CSS codes
<p style="color:#5a0c7f">Text here</p>
<div style="background-color:#5a0c7f">Text here</div>
<div style="border: 4px solid #5a0c7f">Text here</div>
#5a0c7f Color on white background
This is how a font and box color of #5a0c7f will look
on a white background.
#5a0c7f Color on black background
This is how a font and box color of #5a0c7f hex color will look
on a black background.