In RGB color space, #6e21a7 hex color has a red value of 110, a green value of 33 and a blue value of 167.
In CMYK color space (used in color printing), #6e21a7 hex color is composed of 34.13% cyan, 80.24% magenta, 0% yellow and 34.51% black.
#6e21a7 color has a hue of 274.5 degrees, a saturation of 67% and a lightness of 39.2%.
#6e21a7 hex color contains mainly BLUE.
The closest web safe color of #6e21a7 is #663399
#6e21a7 hex color has a decimal value of 7217575.
HEX | 6e21a7 | #6e21a7 |
---|---|---|
RGB | 110, 33, 167 | rgb(110, 33, 167) |
RGB Percent | 43.14, 12.94, 65.49 | rgb(43.14, 12.94, 65.49) |
CMYK | 34, 80, 0, 35 | |
HSL | 274.5°, 67, 39.2 | hsl(274.5, 67%, 39.2%) |
HSV | 274.5°, 80.2, 65.5 |
XYZ | 13.949, 7.193, 37.212 |
---|---|
Hunter Lab | 26.82, 45.904, -63.49 |
CIE-LAB | 32.242, 55.796, -56.655 |
CIE-LCH | 32.242, 79.517, 314.562 |
CIE-LUV | 34.13, 80.24, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #6e21a7
CMYK percent of color #6e21a7
Text with hexadecimal color #6e21a7
This text has a font color of #6e21a7
<p style="color:#6e21a7">Text here</p>
#6e21a7 Background Color
This box has a background color of #6e21a7
<div style="background-color:#6e21a7">Text here</div>
#6e21a7 Border Color
This box has a border color of #6e21a7
<div style="border: 4px solid #6e21a7">Text here</div>
CSS codes
<p style="color:#6e21a7">Text here</p>
<div style="background-color:#6e21a7">Text here</div>
<div style="border: 4px solid #6e21a7">Text here</div>
#6e21a7 Color on white background
This is how a font and box color of #6e21a7 will look
on a white background.
#6e21a7 Color on black background
This is how a font and box color of #6e21a7 hex color will look
on a black background.