In RGB color space, #5a1c7d hex color has a red value of 90, a green value of 28 and a blue value of 125.
In CMYK color space (used in color printing), #5a1c7d hex color is composed of 28% cyan, 77.6% magenta, 0% yellow and 50.98% black.
#5a1c7d color has a hue of 278.4 degrees, a saturation of 63.4% and a lightness of 30%.
#5a1c7d hex color contains mainly BLUE.
The closest web safe color of #5a1c7d is #663366
#5a1c7d hex color has a decimal value of 5905533.
HEX | 5a1c7d | #5a1c7d |
---|---|---|
RGB | 90, 28, 125 | rgb(90, 28, 125) |
RGB Percent | 35.29, 10.98, 49.02 | rgb(35.29, 10.98, 49.02) |
CMYK | 28, 78, 0, 51 | |
HSL | 278.4°, 63.4, 30 | hsl(278.4, 63.4%, 30%) |
HSV | 278.4°, 77.6, 49 |
XYZ | 8.333, 4.485, 19.828 |
---|---|
Hunter Lab | 21.178, 33.175, -40.687 |
CIE-LAB | 25.214, 44.475, -42.304 |
CIE-LCH | 25.214, 61.381, 316.433 |
CIE-LUV | 28, 77.6, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #5a1c7d
CMYK percent of color #5a1c7d
Text with hexadecimal color #5a1c7d
This text has a font color of #5a1c7d
<p style="color:#5a1c7d">Text here</p>
#5a1c7d Background Color
This box has a background color of #5a1c7d
<div style="background-color:#5a1c7d">Text here</div>
#5a1c7d Border Color
This box has a border color of #5a1c7d
<div style="border: 4px solid #5a1c7d">Text here</div>
CSS codes
<p style="color:#5a1c7d">Text here</p>
<div style="background-color:#5a1c7d">Text here</div>
<div style="border: 4px solid #5a1c7d">Text here</div>
#5a1c7d Color on white background
This is how a font and box color of #5a1c7d will look
on a white background.
#5a1c7d Color on black background
This is how a font and box color of #5a1c7d hex color will look
on a black background.