In RGB color space, #6f42a8 hex color has a red value of 111, a green value of 66 and a blue value of 168.
In CMYK color space (used in color printing), #6f42a8 hex color is composed of 33.93% cyan, 60.71% magenta, 0% yellow and 34.12% black.
#6f42a8 color has a hue of 266.5 degrees, a saturation of 43.59% and a lightness of 45.9%.
#6f42a8 hex color contains mainly BLUE.
The closest web safe color of #6f42a8 is #663399
#6f42a8 hex color has a decimal value of 7291560.
HEX | 6f42a8 | #6f42a8 |
---|---|---|
RGB | 111, 66, 168 | rgb(111, 66, 168) |
RGB Percent | 43.53, 25.88, 65.88 | rgb(43.53, 25.88, 65.88) |
CMYK | 34, 61, 0, 34 | |
HSL | 266.5°, 43.59, 45.9 | hsl(266.5, 43.59%, 45.9%) |
HSV | 266.5°, 60.7, 65.9 |
XYZ | 15.572, 10.103, 38.175 |
---|---|
Hunter Lab | 31.785, 31.825, -48.959 |
CIE-LAB | 38.027, 40.72, -47.878 |
CIE-LCH | 38.027, 62.852, 310.381 |
CIE-LUV | 33.93, 60.71, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #6f42a8
CMYK percent of color #6f42a8
Text with hexadecimal color #6f42a8
This text has a font color of #6f42a8
<p style="color:#6f42a8">Text here</p>
#6f42a8 Background Color
This box has a background color of #6f42a8
<div style="background-color:#6f42a8">Text here</div>
#6f42a8 Border Color
This box has a border color of #6f42a8
<div style="border: 4px solid #6f42a8">Text here</div>
CSS codes
<p style="color:#6f42a8">Text here</p>
<div style="background-color:#6f42a8">Text here</div>
<div style="border: 4px solid #6f42a8">Text here</div>
#6f42a8 Color on white background
This is how a font and box color of #6f42a8 will look
on a white background.
#6f42a8 Color on black background
This is how a font and box color of #6f42a8 hex color will look
on a black background.