In RGB color space, #a21fa2 hex color has a red value of 162, a green value of 31 and a blue value of 162.
In CMYK color space (used in color printing), #a21fa2 hex color is composed of 0% cyan, 80.86% magenta, 0% yellow and 36.47% black.
#a21fa2 color has a hue of 300 degrees, a saturation of 67.88% and a lightness of 37.8%.
#a21fa2 hex color contains mainly RED.
The closest web safe color of #a21fa2 is #993399
#a21fa2 hex color has a decimal value of 10624930.
HEX | a21fa2 | #a21fa2 |
---|---|---|
RGB | 162, 31, 162 | rgb(162, 31, 162) |
RGB Percent | 63.53, 12.16, 63.53 | rgb(63.53, 12.16, 63.53) |
CMYK | 0, 81, 0, 36 | |
HSL | 300°, 67.88, 37.8 | hsl(300, 67.88%, 37.8%) |
HSV | 300°, 80.9, 63.5 |
XYZ | 21.912, 11.27, 35.203 |
---|---|
Hunter Lab | 33.571, 57.76, -38.673 |
CIE-LAB | 40.032, 65.07, -40.662 |
CIE-LCH | 40.032, 76.73, 327.999 |
CIE-LUV | 0, 80.86, 0, 36.47 |
Web Safe | 993399 |
RGB percent of color #a21fa2
CMYK percent of color #a21fa2
Text with hexadecimal color #a21fa2
This text has a font color of #a21fa2
<p style="color:#a21fa2">Text here</p>
#a21fa2 Background Color
This box has a background color of #a21fa2
<div style="background-color:#a21fa2">Text here</div>
#a21fa2 Border Color
This box has a border color of #a21fa2
<div style="border: 4px solid #a21fa2">Text here</div>
CSS codes
<p style="color:#a21fa2">Text here</p>
<div style="background-color:#a21fa2">Text here</div>
<div style="border: 4px solid #a21fa2">Text here</div>
#a21fa2 Color on white background
This is how a font and box color of #a21fa2 will look
on a white background.
#a21fa2 Color on black background
This is how a font and box color of #a21fa2 hex color will look
on a black background.