In RGB color space, #6b22a2 hex color has a red value of 107, a green value of 34 and a blue value of 162.
In CMYK color space (used in color printing), #6b22a2 hex color is composed of 33.95% cyan, 79.01% magenta, 0% yellow and 36.47% black.
#6b22a2 color has a hue of 274.2 degrees, a saturation of 65.31% and a lightness of 38.4%.
#6b22a2 hex color contains mainly BLUE.
The closest web safe color of #6b22a2 is #663399
#6b22a2 hex color has a decimal value of 7021218.
HEX | 6b22a2 | #6b22a2 |
---|---|---|
RGB | 107, 34, 162 | rgb(107, 34, 162) |
RGB Percent | 41.96, 13.33, 63.53 | rgb(41.96, 13.33, 63.53) |
CMYK | 34, 79, 0, 36 | |
HSL | 274.2°, 65.31, 38.4 | hsl(274.2, 65.31%, 38.4%) |
HSV | 274.2°, 79, 63.5 |
XYZ | 13.157, 6.878, 34.817 |
---|---|
Hunter Lab | 26.226, 43.654, -60.354 |
CIE-LAB | 31.528, 53.788, -54.821 |
CIE-LCH | 31.528, 76.802, 314.455 |
CIE-LUV | 33.95, 79.01, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6b22a2
CMYK percent of color #6b22a2
Text with hexadecimal color #6b22a2
This text has a font color of #6b22a2
<p style="color:#6b22a2">Text here</p>
#6b22a2 Background Color
This box has a background color of #6b22a2
<div style="background-color:#6b22a2">Text here</div>
#6b22a2 Border Color
This box has a border color of #6b22a2
<div style="border: 4px solid #6b22a2">Text here</div>
CSS codes
<p style="color:#6b22a2">Text here</p>
<div style="background-color:#6b22a2">Text here</div>
<div style="border: 4px solid #6b22a2">Text here</div>
#6b22a2 Color on white background
This is how a font and box color of #6b22a2 will look
on a white background.
#6b22a2 Color on black background
This is how a font and box color of #6b22a2 hex color will look
on a black background.