In RGB color space, #6c21b3 hex color has a red value of 108, a green value of 33 and a blue value of 179.
In CMYK color space (used in color printing), #6c21b3 hex color is composed of 39.66% cyan, 81.56% magenta, 0% yellow and 29.8% black.
#6c21b3 color has a hue of 270.8 degrees, a saturation of 68.87% and a lightness of 41.6%.
#6c21b3 hex color contains mainly BLUE.
The closest web safe color of #6c21b3 is #6633cc
#6c21b3 hex color has a decimal value of 7086515.
HEX | 6c21b3 | #6c21b3 |
---|---|---|
RGB | 108, 33, 179 | rgb(108, 33, 179) |
RGB Percent | 42.35, 12.94, 70.2 | rgb(42.35, 12.94, 70.2) |
CMYK | 40, 82, 0, 30 | |
HSL | 270.8°, 68.87, 41.6 | hsl(270.8, 68.87%, 41.6%) |
HSV | 270.8°, 81.6, 70.2 |
XYZ | 14.865, 7.531, 43.318 |
---|---|
Hunter Lab | 27.443, 48.664, -74.379 |
CIE-LAB | 32.986, 58.24, -62.636 |
CIE-LCH | 32.986, 85.529, 312.917 |
CIE-LUV | 39.66, 81.56, 0, 29.8 |
Web Safe | 6633cc |
RGB percent of color #6c21b3
CMYK percent of color #6c21b3
Text with hexadecimal color #6c21b3
This text has a font color of #6c21b3
<p style="color:#6c21b3">Text here</p>
#6c21b3 Background Color
This box has a background color of #6c21b3
<div style="background-color:#6c21b3">Text here</div>
#6c21b3 Border Color
This box has a border color of #6c21b3
<div style="border: 4px solid #6c21b3">Text here</div>
CSS codes
<p style="color:#6c21b3">Text here</p>
<div style="background-color:#6c21b3">Text here</div>
<div style="border: 4px solid #6c21b3">Text here</div>
#6c21b3 Color on white background
This is how a font and box color of #6c21b3 will look
on a white background.
#6c21b3 Color on black background
This is how a font and box color of #6c21b3 hex color will look
on a black background.