In RGB color space, #5a1c7a hex color has a red value of 90, a green value of 28 and a blue value of 122.
In CMYK color space (used in color printing), #5a1c7a hex color is composed of 26.23% cyan, 77.05% magenta, 0% yellow and 52.16% black.
#5a1c7a color has a hue of 279.6 degrees, a saturation of 62.67% and a lightness of 29.4%.
#5a1c7a hex color contains mainly BLUE.
The closest web safe color of #5a1c7a is #663366
#5a1c7a hex color has a decimal value of 5905530.
HEX | 5a1c7a | #5a1c7a |
---|---|---|
RGB | 90, 28, 122 | rgb(90, 28, 122) |
RGB Percent | 35.29, 10.98, 47.84 | rgb(35.29, 10.98, 47.84) |
CMYK | 26, 77, 0, 52 | |
HSL | 279.6°, 62.67, 29.4 | hsl(279.6, 62.67%, 29.4%) |
HSV | 279.6°, 77, 47.8 |
XYZ | 8.145, 4.409, 18.834 |
---|---|
Hunter Lab | 20.998, 32.495, -38.482 |
CIE-LAB | 24.98, 43.801, -40.781 |
CIE-LCH | 24.98, 59.847, 317.045 |
CIE-LUV | 26.23, 77.05, 0, 52.16 |
Web Safe | 663366 |
RGB percent of color #5a1c7a
CMYK percent of color #5a1c7a
Text with hexadecimal color #5a1c7a
This text has a font color of #5a1c7a
<p style="color:#5a1c7a">Text here</p>
#5a1c7a Background Color
This box has a background color of #5a1c7a
<div style="background-color:#5a1c7a">Text here</div>
#5a1c7a Border Color
This box has a border color of #5a1c7a
<div style="border: 4px solid #5a1c7a">Text here</div>
CSS codes
<p style="color:#5a1c7a">Text here</p>
<div style="background-color:#5a1c7a">Text here</div>
<div style="border: 4px solid #5a1c7a">Text here</div>
#5a1c7a Color on white background
This is how a font and box color of #5a1c7a will look
on a white background.
#5a1c7a Color on black background
This is how a font and box color of #5a1c7a hex color will look
on a black background.