In RGB color space, #6b21a2 hex color has a red value of 107, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #6b21a2 hex color is composed of 33.95% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#6b21a2 color has a hue of 274.4 degrees, a saturation of 66.15% and a lightness of 38.2%.
#6b21a2 hex color contains mainly BLUE.
The closest web safe color of #6b21a2 is #663399
#6b21a2 hex color has a decimal value of 7020962.
HEX | 6b21a2 | #6b21a2 |
---|---|---|
RGB | 107, 33, 162 | rgb(107, 33, 162) |
RGB Percent | 41.96, 12.94, 63.53 | rgb(41.96, 12.94, 63.53) |
CMYK | 34, 80, 0, 36 | |
HSL | 274.4°, 66.15, 38.2 | hsl(274.4, 66.15%, 38.2%) |
HSV | 274.4°, 79.6, 63.5 |
XYZ | 13.129, 6.822, 34.807 |
---|---|
Hunter Lab | 26.119, 44.017, -60.729 |
CIE-LAB | 31.398, 54.162, -55.03 |
CIE-LCH | 31.398, 77.213, 314.545 |
CIE-LUV | 33.95, 79.63, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6b21a2
CMYK percent of color #6b21a2
Text with hexadecimal color #6b21a2
This text has a font color of #6b21a2
<p style="color:#6b21a2">Text here</p>
#6b21a2 Background Color
This box has a background color of #6b21a2
<div style="background-color:#6b21a2">Text here</div>
#6b21a2 Border Color
This box has a border color of #6b21a2
<div style="border: 4px solid #6b21a2">Text here</div>
CSS codes
<p style="color:#6b21a2">Text here</p>
<div style="background-color:#6b21a2">Text here</div>
<div style="border: 4px solid #6b21a2">Text here</div>
#6b21a2 Color on white background
This is how a font and box color of #6b21a2 will look
on a white background.
#6b21a2 Color on black background
This is how a font and box color of #6b21a2 hex color will look
on a black background.