In RGB color space, #5a1c7c hex color has a red value of 90, a green value of 28 and a blue value of 124.
In CMYK color space (used in color printing), #5a1c7c hex color is composed of 27.42% cyan, 77.42% magenta, 0% yellow and 51.37% black.
#5a1c7c color has a hue of 278.8 degrees, a saturation of 63.16% and a lightness of 29.8%.
#5a1c7c hex color contains mainly BLUE.
The closest web safe color of #5a1c7c is #663366
#5a1c7c hex color has a decimal value of 5905532.
HEX | 5a1c7c | #5a1c7c |
---|---|---|
RGB | 90, 28, 124 | rgb(90, 28, 124) |
RGB Percent | 35.29, 10.98, 48.63 | rgb(35.29, 10.98, 48.63) |
CMYK | 27, 77, 0, 51 | |
HSL | 278.8°, 63.16, 29.8 | hsl(278.8, 63.16%, 29.8%) |
HSV | 278.8°, 77.4, 48.6 |
XYZ | 8.27, 4.459, 19.494 |
---|---|
Hunter Lab | 21.116, 32.954, -39.953 |
CIE-LAB | 25.134, 44.258, -41.801 |
CIE-LCH | 25.134, 60.878, 316.635 |
CIE-LUV | 27.42, 77.42, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #5a1c7c
CMYK percent of color #5a1c7c
Text with hexadecimal color #5a1c7c
This text has a font color of #5a1c7c
<p style="color:#5a1c7c">Text here</p>
#5a1c7c Background Color
This box has a background color of #5a1c7c
<div style="background-color:#5a1c7c">Text here</div>
#5a1c7c Border Color
This box has a border color of #5a1c7c
<div style="border: 4px solid #5a1c7c">Text here</div>
CSS codes
<p style="color:#5a1c7c">Text here</p>
<div style="background-color:#5a1c7c">Text here</div>
<div style="border: 4px solid #5a1c7c">Text here</div>
#5a1c7c Color on white background
This is how a font and box color of #5a1c7c will look
on a white background.
#5a1c7c Color on black background
This is how a font and box color of #5a1c7c hex color will look
on a black background.