In RGB color space, #6d21a2 hex color has a red value of 109, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #6d21a2 hex color is composed of 32.72% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#6d21a2 color has a hue of 275.3 degrees, a saturation of 66.15% and a lightness of 38.2%.
#6d21a2 hex color contains mainly BLUE.
The closest web safe color of #6d21a2 is #663399
#6d21a2 hex color has a decimal value of 7152034.
HEX | 6d21a2 | #6d21a2 |
---|---|---|
RGB | 109, 33, 162 | rgb(109, 33, 162) |
RGB Percent | 42.75, 12.94, 63.53 | rgb(42.75, 12.94, 63.53) |
CMYK | 33, 80, 0, 36 | |
HSL | 275.3°, 66.15, 38.2 | hsl(275.3, 66.15%, 38.2%) |
HSV | 275.3°, 79.6, 63.5 |
XYZ | 13.372, 6.948, 34.819 |
---|---|
Hunter Lab | 26.359, 44.425, -59.868 |
CIE-LAB | 31.688, 54.497, -54.546 |
CIE-LCH | 31.688, 77.105, 314.974 |
CIE-LUV | 32.72, 79.63, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6d21a2
CMYK percent of color #6d21a2
Text with hexadecimal color #6d21a2
This text has a font color of #6d21a2
<p style="color:#6d21a2">Text here</p>
#6d21a2 Background Color
This box has a background color of #6d21a2
<div style="background-color:#6d21a2">Text here</div>
#6d21a2 Border Color
This box has a border color of #6d21a2
<div style="border: 4px solid #6d21a2">Text here</div>
CSS codes
<p style="color:#6d21a2">Text here</p>
<div style="background-color:#6d21a2">Text here</div>
<div style="border: 4px solid #6d21a2">Text here</div>
#6d21a2 Color on white background
This is how a font and box color of #6d21a2 will look
on a white background.
#6d21a2 Color on black background
This is how a font and box color of #6d21a2 hex color will look
on a black background.