In RGB color space, #6a42a2 hex color has a red value of 106, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #6a42a2 hex color is composed of 34.57% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#6a42a2 color has a hue of 265 degrees, a saturation of 42.11% and a lightness of 44.7%.
#6a42a2 hex color contains mainly BLUE.
The closest web safe color of #6a42a2 is #663399
#6a42a2 hex color has a decimal value of 6963874.
HEX | 6a42a2 | #6a42a2 |
---|---|---|
RGB | 106, 66, 162 | rgb(106, 66, 162) |
RGB Percent | 41.57, 25.88, 63.53 | rgb(41.57, 25.88, 63.53) |
CMYK | 35, 59, 0, 36 | |
HSL | 265°, 42.11, 44.7 | hsl(265, 42.11%, 44.7%) |
HSV | 265°, 59.3, 63.5 |
XYZ | 14.414, 9.569, 35.27 |
---|---|
Hunter Lab | 30.934, 29.04, -45.947 |
CIE-LAB | 37.058, 37.94, -45.877 |
CIE-LCH | 37.058, 59.533, 309.591 |
CIE-LUV | 34.57, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #6a42a2
CMYK percent of color #6a42a2
Text with hexadecimal color #6a42a2
This text has a font color of #6a42a2
<p style="color:#6a42a2">Text here</p>
#6a42a2 Background Color
This box has a background color of #6a42a2
<div style="background-color:#6a42a2">Text here</div>
#6a42a2 Border Color
This box has a border color of #6a42a2
<div style="border: 4px solid #6a42a2">Text here</div>
CSS codes
<p style="color:#6a42a2">Text here</p>
<div style="background-color:#6a42a2">Text here</div>
<div style="border: 4px solid #6a42a2">Text here</div>
#6a42a2 Color on white background
This is how a font and box color of #6a42a2 will look
on a white background.
#6a42a2 Color on black background
This is how a font and box color of #6a42a2 hex color will look
on a black background.