In RGB color space, #6d21a1 hex color has a red value of 109, a green value of 33 and a blue value of 161.
In CMYK color space (used in color printing), #6d21a1 hex color is composed of 32.3% cyan, 79.5% magenta, 0% yellow and 36.86% black.
#6d21a1 color has a hue of 275.6 degrees, a saturation of 65.98% and a lightness of 38%.
#6d21a1 hex color contains mainly BLUE.
The closest web safe color of #6d21a1 is #663399
#6d21a1 hex color has a decimal value of 7152033.
HEX | 6d21a1 | #6d21a1 |
---|---|---|
RGB | 109, 33, 161 | rgb(109, 33, 161) |
RGB Percent | 42.75, 12.94, 63.14 | rgb(42.75, 12.94, 63.14) |
CMYK | 32, 80, 0, 37 | |
HSL | 275.6°, 65.98, 38 | hsl(275.6, 65.98%, 38%) |
HSV | 275.6°, 79.5, 63.1 |
XYZ | 13.284, 6.912, 34.352 |
---|---|
Hunter Lab | 26.291, 44.183, -59.066 |
CIE-LAB | 31.606, 54.281, -54.074 |
CIE-LCH | 31.606, 76.619, 315.109 |
CIE-LUV | 32.3, 79.5, 0, 36.86 |
Web Safe | 663399 |
RGB percent of color #6d21a1
CMYK percent of color #6d21a1
Text with hexadecimal color #6d21a1
This text has a font color of #6d21a1
<p style="color:#6d21a1">Text here</p>
#6d21a1 Background Color
This box has a background color of #6d21a1
<div style="background-color:#6d21a1">Text here</div>
#6d21a1 Border Color
This box has a border color of #6d21a1
<div style="border: 4px solid #6d21a1">Text here</div>
CSS codes
<p style="color:#6d21a1">Text here</p>
<div style="background-color:#6d21a1">Text here</div>
<div style="border: 4px solid #6d21a1">Text here</div>
#6d21a1 Color on white background
This is how a font and box color of #6d21a1 will look
on a white background.
#6d21a1 Color on black background
This is how a font and box color of #6d21a1 hex color will look
on a black background.