In RGB color space, #a540a8 hex color has a red value of 165, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #a540a8 hex color is composed of 1.79% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#a540a8 color has a hue of 298.3 degrees, a saturation of 44.83% and a lightness of 45.5%.
#a540a8 hex color contains mainly BLUE.
The closest web safe color of #a540a8 is #993399
#a540a8 hex color has a decimal value of 10829992.
HEX | a540a8 | #a540a8 |
---|---|---|
RGB | 165, 64, 168 | rgb(165, 64, 168) |
RGB Percent | 64.71, 25.1, 65.88 | rgb(64.71, 25.1, 65.88) |
CMYK | 2, 62, 0, 34 | |
HSL | 298.3°, 44.83, 45.5 | hsl(298.3, 44.83%, 45.5%) |
HSV | 298.3°, 61.9, 65.9 |
XYZ | 24.418, 14.493, 38.556 |
---|---|
Hunter Lab | 38.07, 47.868, -33.399 |
CIE-LAB | 44.932, 55.217, -36.44 |
CIE-LCH | 44.932, 66.157, 326.578 |
CIE-LUV | 1.79, 61.9, 0, 34.12 |
Web Safe | 993399 |
RGB percent of color #a540a8
CMYK percent of color #a540a8
Text with hexadecimal color #a540a8
This text has a font color of #a540a8
<p style="color:#a540a8">Text here</p>
#a540a8 Background Color
This box has a background color of #a540a8
<div style="background-color:#a540a8">Text here</div>
#a540a8 Border Color
This box has a border color of #a540a8
<div style="border: 4px solid #a540a8">Text here</div>
CSS codes
<p style="color:#a540a8">Text here</p>
<div style="background-color:#a540a8">Text here</div>
<div style="border: 4px solid #a540a8">Text here</div>
#a540a8 Color on white background
This is how a font and box color of #a540a8 will look
on a white background.
#a540a8 Color on black background
This is how a font and box color of #a540a8 hex color will look
on a black background.