In RGB color space, #5a1a7d hex color has a red value of 90, a green value of 26 and a blue value of 125.
In CMYK color space (used in color printing), #5a1a7d hex color is composed of 28% cyan, 79.2% magenta, 0% yellow and 50.98% black.
#5a1a7d color has a hue of 278.8 degrees, a saturation of 65.56% and a lightness of 29.6%.
#5a1a7d hex color contains mainly BLUE.
The closest web safe color of #5a1a7d is #663366
#5a1a7d hex color has a decimal value of 5905021.
HEX | 5a1a7d | #5a1a7d |
---|---|---|
RGB | 90, 26, 125 | rgb(90, 26, 125) |
RGB Percent | 35.29, 10.2, 49.02 | rgb(35.29, 10.2, 49.02) |
CMYK | 28, 79, 0, 51 | |
HSL | 278.8°, 65.56, 29.6 | hsl(278.8, 65.56%, 29.6%) |
HSV | 278.8°, 79.2, 49 |
XYZ | 8.288, 4.393, 19.813 |
---|---|
Hunter Lab | 20.959, 33.905, -41.375 |
CIE-LAB | 24.93, 45.297, -42.764 |
CIE-LCH | 24.93, 62.294, 316.648 |
CIE-LUV | 28, 79.2, 0, 50.98 |
Web Safe | 663366 |
RGB percent of color #5a1a7d
CMYK percent of color #5a1a7d
Text with hexadecimal color #5a1a7d
This text has a font color of #5a1a7d
<p style="color:#5a1a7d">Text here</p>
#5a1a7d Background Color
This box has a background color of #5a1a7d
<div style="background-color:#5a1a7d">Text here</div>
#5a1a7d Border Color
This box has a border color of #5a1a7d
<div style="border: 4px solid #5a1a7d">Text here</div>
CSS codes
<p style="color:#5a1a7d">Text here</p>
<div style="background-color:#5a1a7d">Text here</div>
<div style="border: 4px solid #5a1a7d">Text here</div>
#5a1a7d Color on white background
This is how a font and box color of #5a1a7d will look
on a white background.
#5a1a7d Color on black background
This is how a font and box color of #5a1a7d hex color will look
on a black background.