In RGB color space, #402e6d hex color has a red value of 64, a green value of 46 and a blue value of 109.
In CMYK color space (used in color printing), #402e6d hex color is composed of 41.28% cyan, 57.8% magenta, 0% yellow and 57.25% black.
#402e6d color has a hue of 257.1 degrees, a saturation of 40.65% and a lightness of 30.4%.
#402e6d hex color contains mainly BLUE.
The closest web safe color of #402e6d is #333366
#402e6d hex color has a decimal value of 4206189.
HEX | 402e6d | #402e6d |
---|---|---|
RGB | 64, 46, 109 | rgb(64, 46, 109) |
RGB Percent | 25.1, 18.04, 42.75 | rgb(25.1, 18.04, 42.75) |
CMYK | 41, 58, 0, 57 | |
HSL | 257.1°, 40.65, 30.4 | hsl(257.1, 40.65%, 30.4%) |
HSV | 257.1°, 57.8, 42.7 |
XYZ | 5.852, 4.148, 14.96 |
---|---|
Hunter Lab | 20.367, 15.647, -29.294 |
CIE-LAB | 24.155, 24.354, -33.969 |
CIE-LCH | 24.155, 41.797, 305.639 |
CIE-LUV | 41.28, 57.8, 0, 57.25 |
Web Safe | 333366 |
RGB percent of color #402e6d
CMYK percent of color #402e6d
Text with hexadecimal color #402e6d
This text has a font color of #402e6d
<p style="color:#402e6d">Text here</p>
#402e6d Background Color
This box has a background color of #402e6d
<div style="background-color:#402e6d">Text here</div>
#402e6d Border Color
This box has a border color of #402e6d
<div style="border: 4px solid #402e6d">Text here</div>
CSS codes
<p style="color:#402e6d">Text here</p>
<div style="background-color:#402e6d">Text here</div>
<div style="border: 4px solid #402e6d">Text here</div>
#402e6d Color on white background
This is how a font and box color of #402e6d will look
on a white background.
#402e6d Color on black background
This is how a font and box color of #402e6d hex color will look
on a black background.