In RGB color space, #6d21a6 hex color has a red value of 109, a green value of 33 and a blue value of 166.
In CMYK color space (used in color printing), #6d21a6 hex color is composed of 34.34% cyan, 80.12% magenta, 0% yellow and 34.9% black.
#6d21a6 color has a hue of 274.3 degrees, a saturation of 66.83% and a lightness of 39%.
#6d21a6 hex color contains mainly BLUE.
The closest web safe color of #6d21a6 is #663399
#6d21a6 hex color has a decimal value of 7152038.
HEX | 6d21a6 | #6d21a6 |
---|---|---|
RGB | 109, 33, 166 | rgb(109, 33, 166) |
RGB Percent | 42.75, 12.94, 65.1 | rgb(42.75, 12.94, 65.1) |
CMYK | 34, 80, 0, 35 | |
HSL | 274.3°, 66.83, 39 | hsl(274.3, 66.83%, 39%) |
HSV | 274.3°, 80.1, 65.1 |
XYZ | 13.733, 7.092, 36.721 |
---|---|
Hunter Lab | 26.631, 45.445, -63.113 |
CIE-LAB | 32.015, 55.406, -56.428 |
CIE-LCH | 32.015, 79.082, 314.476 |
CIE-LUV | 34.34, 80.12, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #6d21a6
CMYK percent of color #6d21a6
Text with hexadecimal color #6d21a6
This text has a font color of #6d21a6
<p style="color:#6d21a6">Text here</p>
#6d21a6 Background Color
This box has a background color of #6d21a6
<div style="background-color:#6d21a6">Text here</div>
#6d21a6 Border Color
This box has a border color of #6d21a6
<div style="border: 4px solid #6d21a6">Text here</div>
CSS codes
<p style="color:#6d21a6">Text here</p>
<div style="background-color:#6d21a6">Text here</div>
<div style="border: 4px solid #6d21a6">Text here</div>
#6d21a6 Color on white background
This is how a font and box color of #6d21a6 will look
on a white background.
#6d21a6 Color on black background
This is how a font and box color of #6d21a6 hex color will look
on a black background.