In RGB color space, #6d42a2 hex color has a red value of 109, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #6d42a2 hex color is composed of 32.72% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#6d42a2 color has a hue of 266.9 degrees, a saturation of 42.11% and a lightness of 44.7%.
#6d42a2 hex color contains mainly BLUE.
The closest web safe color of #6d42a2 is #663399
#6d42a2 hex color has a decimal value of 7160482.
HEX | 6d42a2 | #6d42a2 |
---|---|---|
RGB | 109, 66, 162 | rgb(109, 66, 162) |
RGB Percent | 42.75, 25.88, 63.53 | rgb(42.75, 25.88, 63.53) |
CMYK | 33, 59, 0, 36 | |
HSL | 266.9°, 42.11, 44.7 | hsl(266.9, 42.11%, 44.7%) |
HSV | 266.9°, 59.3, 63.5 |
XYZ | 14.776, 9.756, 35.287 |
---|---|
Hunter Lab | 31.235, 29.782, -45.118 |
CIE-LAB | 37.401, 38.673, -45.307 |
CIE-LCH | 37.401, 59.568, 310.483 |
CIE-LUV | 32.72, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6d42a2
CMYK percent of color #6d42a2
Text with hexadecimal color #6d42a2
This text has a font color of #6d42a2
<p style="color:#6d42a2">Text here</p>
#6d42a2 Background Color
This box has a background color of #6d42a2
<div style="background-color:#6d42a2">Text here</div>
#6d42a2 Border Color
This box has a border color of #6d42a2
<div style="border: 4px solid #6d42a2">Text here</div>
CSS codes
<p style="color:#6d42a2">Text here</p>
<div style="background-color:#6d42a2">Text here</div>
<div style="border: 4px solid #6d42a2">Text here</div>
#6d42a2 Color on white background
This is how a font and box color of #6d42a2 will look
on a white background.
#6d42a2 Color on black background
This is how a font and box color of #6d42a2 hex color will look
on a black background.