In RGB color space, #6f42a2 hex color has a red value of 111, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #6f42a2 hex color is composed of 31.48% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#6f42a2 color has a hue of 268.1 degrees, a saturation of 42.11% and a lightness of 44.7%.
#6f42a2 hex color contains mainly BLUE.
The closest web safe color of #6f42a2 is #663399
#6f42a2 hex color has a decimal value of 7291554.
HEX | 6f42a2 | #6f42a2 |
---|---|---|
RGB | 111, 66, 162 | rgb(111, 66, 162) |
RGB Percent | 43.53, 25.88, 63.53 | rgb(43.53, 25.88, 63.53) |
CMYK | 31, 59, 0, 36 | |
HSL | 268.1°, 42.11, 44.7 | hsl(268.1, 42.11%, 44.7%) |
HSV | 268.1°, 59.3, 63.5 |
XYZ | 15.025, 9.885, 35.298 |
---|---|
Hunter Lab | 31.44, 30.282, -44.556 |
CIE-LAB | 37.635, 39.165, -44.917 |
CIE-LCH | 37.635, 59.594, 311.087 |
CIE-LUV | 31.48, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6f42a2
CMYK percent of color #6f42a2
Text with hexadecimal color #6f42a2
This text has a font color of #6f42a2
<p style="color:#6f42a2">Text here</p>
#6f42a2 Background Color
This box has a background color of #6f42a2
<div style="background-color:#6f42a2">Text here</div>
#6f42a2 Border Color
This box has a border color of #6f42a2
<div style="border: 4px solid #6f42a2">Text here</div>
CSS codes
<p style="color:#6f42a2">Text here</p>
<div style="background-color:#6f42a2">Text here</div>
<div style="border: 4px solid #6f42a2">Text here</div>
#6f42a2 Color on white background
This is how a font and box color of #6f42a2 will look
on a white background.
#6f42a2 Color on black background
This is how a font and box color of #6f42a2 hex color will look
on a black background.