In RGB color space, #402e7e hex color has a red value of 64, a green value of 46 and a blue value of 126.
In CMYK color space (used in color printing), #402e7e hex color is composed of 49.21% cyan, 63.49% magenta, 0% yellow and 50.59% black.
#402e7e color has a hue of 253.5 degrees, a saturation of 46.51% and a lightness of 33.7%.
#402e7e hex color contains mainly BLUE.
The closest web safe color of #402e7e is #333366
#402e7e hex color has a decimal value of 4206206.
HEX | 402e7e | #402e7e |
---|---|---|
RGB | 64, 46, 126 | rgb(64, 46, 126) |
RGB Percent | 25.1, 18.04, 49.41 | rgb(25.1, 18.04, 49.41) |
CMYK | 49, 63, 0, 51 | |
HSL | 253.5°, 46.51, 33.7 | hsl(253.5, 46.51%, 33.7%) |
HSV | 253.5°, 63.5, 49.4 |
XYZ | 6.857, 4.55, 20.256 |
---|---|
Hunter Lab | 21.331, 20.052, -41.371 |
CIE-LAB | 25.412, 29.645, -42.772 |
CIE-LCH | 25.412, 52.041, 304.726 |
CIE-LUV | 49.21, 63.49, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #402e7e
CMYK percent of color #402e7e
Text with hexadecimal color #402e7e
This text has a font color of #402e7e
<p style="color:#402e7e">Text here</p>
#402e7e Background Color
This box has a background color of #402e7e
<div style="background-color:#402e7e">Text here</div>
#402e7e Border Color
This box has a border color of #402e7e
<div style="border: 4px solid #402e7e">Text here</div>
CSS codes
<p style="color:#402e7e">Text here</p>
<div style="background-color:#402e7e">Text here</div>
<div style="border: 4px solid #402e7e">Text here</div>
#402e7e Color on white background
This is how a font and box color of #402e7e will look
on a white background.
#402e7e Color on black background
This is how a font and box color of #402e7e hex color will look
on a black background.