In RGB color space, #6c42ab hex color has a red value of 108, a green value of 66 and a blue value of 171.
In CMYK color space (used in color printing), #6c42ab hex color is composed of 36.84% cyan, 61.4% magenta, 0% yellow and 32.94% black.
#6c42ab color has a hue of 264 degrees, a saturation of 44.3% and a lightness of 46.5%.
#6c42ab hex color contains mainly BLUE.
The closest web safe color of #6c42ab is #663399
#6c42ab hex color has a decimal value of 7094955.
HEX | 6c42ab | #6c42ab |
---|---|---|
RGB | 108, 66, 171 | rgb(108, 66, 171) |
RGB Percent | 42.35, 25.88, 67.06 | rgb(42.35, 25.88, 67.06) |
CMYK | 37, 61, 0, 33 | |
HSL | 264°, 44.3, 46.5 | hsl(264, 44.3%, 46.5%) |
HSV | 264°, 61.4, 67.1 |
XYZ | 15.483, 10.025, 39.647 |
---|---|
Hunter Lab | 31.662, 31.878, -52.078 |
CIE-LAB | 37.887, 40.798, -49.908 |
CIE-LCH | 37.887, 64.462, 309.265 |
CIE-LUV | 36.84, 61.4, 0, 32.94 |
Web Safe | 663399 |
RGB percent of color #6c42ab
CMYK percent of color #6c42ab
Text with hexadecimal color #6c42ab
This text has a font color of #6c42ab
<p style="color:#6c42ab">Text here</p>
#6c42ab Background Color
This box has a background color of #6c42ab
<div style="background-color:#6c42ab">Text here</div>
#6c42ab Border Color
This box has a border color of #6c42ab
<div style="border: 4px solid #6c42ab">Text here</div>
CSS codes
<p style="color:#6c42ab">Text here</p>
<div style="background-color:#6c42ab">Text here</div>
<div style="border: 4px solid #6c42ab">Text here</div>
#6c42ab Color on white background
This is how a font and box color of #6c42ab will look
on a white background.
#6c42ab Color on black background
This is how a font and box color of #6c42ab hex color will look
on a black background.