In RGB color space, #6d40a8 hex color has a red value of 109, a green value of 64 and a blue value of 168.
In CMYK color space (used in color printing), #6d40a8 hex color is composed of 35.12% cyan, 61.9% magenta, 0% yellow and 34.12% black.
#6d40a8 color has a hue of 266 degrees, a saturation of 44.83% and a lightness of 45.5%.
#6d40a8 hex color contains mainly BLUE.
The closest web safe color of #6d40a8 is #663399
#6d40a8 hex color has a decimal value of 7159976.
HEX | 6d40a8 | #6d40a8 |
---|---|---|
RGB | 109, 64, 168 | rgb(109, 64, 168) |
RGB Percent | 42.75, 25.1, 65.88 | rgb(42.75, 25.1, 65.88) |
CMYK | 35, 62, 0, 34 | |
HSL | 266°, 44.83, 45.5 | hsl(266, 44.83%, 45.5%) |
HSV | 266°, 61.9, 65.9 |
XYZ | 15.208, 9.745, 38.125 |
---|---|
Hunter Lab | 31.217, 32.33, -50.558 |
CIE-LAB | 37.381, 41.355, -48.93 |
CIE-LCH | 37.381, 64.065, 310.204 |
CIE-LUV | 35.12, 61.9, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #6d40a8
CMYK percent of color #6d40a8
Text with hexadecimal color #6d40a8
This text has a font color of #6d40a8
<p style="color:#6d40a8">Text here</p>
#6d40a8 Background Color
This box has a background color of #6d40a8
<div style="background-color:#6d40a8">Text here</div>
#6d40a8 Border Color
This box has a border color of #6d40a8
<div style="border: 4px solid #6d40a8">Text here</div>
CSS codes
<p style="color:#6d40a8">Text here</p>
<div style="background-color:#6d40a8">Text here</div>
<div style="border: 4px solid #6d40a8">Text here</div>
#6d40a8 Color on white background
This is how a font and box color of #6d40a8 will look
on a white background.
#6d40a8 Color on black background
This is how a font and box color of #6d40a8 hex color will look
on a black background.