In RGB color space, #402e5e hex color has a red value of 64, a green value of 46 and a blue value of 94.
In CMYK color space (used in color printing), #402e5e hex color is composed of 31.91% cyan, 51.06% magenta, 0% yellow and 63.14% black.
#402e5e color has a hue of 262.5 degrees, a saturation of 34.29% and a lightness of 27.5%.
#402e5e hex color contains mainly BLUE.
The closest web safe color of #402e5e is #333366
#402e5e hex color has a decimal value of 4206174.
HEX | 402e5e | #402e5e |
---|---|---|
RGB | 64, 46, 94 | rgb(64, 46, 94) |
RGB Percent | 25.1, 18.04, 36.86 | rgb(25.1, 18.04, 36.86) |
CMYK | 32, 51, 0, 63 | |
HSL | 262.5°, 34.29, 27.5 | hsl(262.5, 34.29%, 27.5%) |
HSV | 262.5°, 51.1, 36.9 |
XYZ | 5.112, 3.852, 11.064 |
---|---|
Hunter Lab | 19.627, 12.146, -19.685 |
CIE-LAB | 23.176, 19.874, -25.784 |
CIE-LCH | 23.176, 32.554, 307.625 |
CIE-LUV | 31.91, 51.06, 0, 63.14 |
Web Safe | 333366 |
RGB percent of color #402e5e
CMYK percent of color #402e5e
Text with hexadecimal color #402e5e
This text has a font color of #402e5e
<p style="color:#402e5e">Text here</p>
#402e5e Background Color
This box has a background color of #402e5e
<div style="background-color:#402e5e">Text here</div>
#402e5e Border Color
This box has a border color of #402e5e
<div style="border: 4px solid #402e5e">Text here</div>
CSS codes
<p style="color:#402e5e">Text here</p>
<div style="background-color:#402e5e">Text here</div>
<div style="border: 4px solid #402e5e">Text here</div>
#402e5e Color on white background
This is how a font and box color of #402e5e will look
on a white background.
#402e5e Color on black background
This is how a font and box color of #402e5e hex color will look
on a black background.