In RGB color space, #402e6f hex color has a red value of 64, a green value of 46 and a blue value of 111.
In CMYK color space (used in color printing), #402e6f hex color is composed of 42.34% cyan, 58.56% magenta, 0% yellow and 56.47% black.
#402e6f color has a hue of 256.6 degrees, a saturation of 41.4% and a lightness of 30.8%.
#402e6f hex color contains mainly BLUE.
The closest web safe color of #402e6f is #333366
#402e6f hex color has a decimal value of 4206191.
HEX | 402e6f | #402e6f |
---|---|---|
RGB | 64, 46, 111 | rgb(64, 46, 111) |
RGB Percent | 25.1, 18.04, 43.53 | rgb(25.1, 18.04, 43.53) |
CMYK | 42, 59, 0, 56 | |
HSL | 256.6°, 41.4, 30.8 | hsl(256.6, 41.4%, 30.8%) |
HSV | 256.6°, 58.6, 43.5 |
XYZ | 5.961, 4.192, 15.534 |
---|---|
Hunter Lab | 20.474, 16.139, -30.652 |
CIE-LAB | 24.296, 24.963, -35.029 |
CIE-LCH | 24.296, 43.014, 305.475 |
CIE-LUV | 42.34, 58.56, 0, 56.47 |
Web Safe | 333366 |
RGB percent of color #402e6f
CMYK percent of color #402e6f
Text with hexadecimal color #402e6f
This text has a font color of #402e6f
<p style="color:#402e6f">Text here</p>
#402e6f Background Color
This box has a background color of #402e6f
<div style="background-color:#402e6f">Text here</div>
#402e6f Border Color
This box has a border color of #402e6f
<div style="border: 4px solid #402e6f">Text here</div>
CSS codes
<p style="color:#402e6f">Text here</p>
<div style="background-color:#402e6f">Text here</div>
<div style="border: 4px solid #402e6f">Text here</div>
#402e6f Color on white background
This is how a font and box color of #402e6f will look
on a white background.
#402e6f Color on black background
This is how a font and box color of #402e6f hex color will look
on a black background.