In RGB color space, #6d21a4 hex color has a red value of 109, a green value of 33 and a blue value of 164.
In CMYK color space (used in color printing), #6d21a4 hex color is composed of 33.54% cyan, 79.88% magenta, 0% yellow and 35.69% black.
#6d21a4 color has a hue of 274.8 degrees, a saturation of 66.5% and a lightness of 38.6%.
#6d21a4 hex color contains mainly BLUE.
The closest web safe color of #6d21a4 is #663399
#6d21a4 hex color has a decimal value of 7152036.
HEX | 6d21a4 | #6d21a4 |
---|---|---|
RGB | 109, 33, 164 | rgb(109, 33, 164) |
RGB Percent | 42.75, 12.94, 64.31 | rgb(42.75, 12.94, 64.31) |
CMYK | 34, 80, 0, 36 | |
HSL | 274.8°, 66.5, 38.6 | hsl(274.8, 66.5%, 38.6%) |
HSV | 274.8°, 79.9, 64.3 |
XYZ | 13.551, 7.019, 35.763 |
---|---|
Hunter Lab | 26.493, 44.937, -61.489 |
CIE-LAB | 31.85, 54.954, -55.492 |
CIE-LCH | 31.85, 78.098, 314.721 |
CIE-LUV | 33.54, 79.88, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #6d21a4
CMYK percent of color #6d21a4
Text with hexadecimal color #6d21a4
This text has a font color of #6d21a4
<p style="color:#6d21a4">Text here</p>
#6d21a4 Background Color
This box has a background color of #6d21a4
<div style="background-color:#6d21a4">Text here</div>
#6d21a4 Border Color
This box has a border color of #6d21a4
<div style="border: 4px solid #6d21a4">Text here</div>
CSS codes
<p style="color:#6d21a4">Text here</p>
<div style="background-color:#6d21a4">Text here</div>
<div style="border: 4px solid #6d21a4">Text here</div>
#6d21a4 Color on white background
This is how a font and box color of #6d21a4 will look
on a white background.
#6d21a4 Color on black background
This is how a font and box color of #6d21a4 hex color will look
on a black background.