In RGB color space, #402d6d hex color has a red value of 64, a green value of 45 and a blue value of 109.
In CMYK color space (used in color printing), #402d6d hex color is composed of 41.28% cyan, 58.72% magenta, 0% yellow and 57.25% black.
#402d6d color has a hue of 257.8 degrees, a saturation of 41.56% and a lightness of 30.2%.
#402d6d hex color contains mainly BLUE.
The closest web safe color of #402d6d is #333366
#402d6d hex color has a decimal value of 4205933.
HEX | 402d6d | #402d6d |
---|---|---|
RGB | 64, 45, 109 | rgb(64, 45, 109) |
RGB Percent | 25.1, 17.65, 42.75 | rgb(25.1, 17.65, 42.75) |
CMYK | 41, 59, 0, 57 | |
HSL | 257.8°, 41.56, 30.2 | hsl(257.8, 41.56%, 30.2%) |
HSV | 257.8°, 58.7, 42.7 |
XYZ | 5.813, 4.071, 14.947 |
---|---|
Hunter Lab | 20.177, 16.117, -29.799 |
CIE-LAB | 23.905, 24.993, -34.371 |
CIE-LCH | 23.905, 42.497, 306.023 |
CIE-LUV | 41.28, 58.72, 0, 57.25 |
Web Safe | 333366 |
RGB percent of color #402d6d
CMYK percent of color #402d6d
Text with hexadecimal color #402d6d
This text has a font color of #402d6d
<p style="color:#402d6d">Text here</p>
#402d6d Background Color
This box has a background color of #402d6d
<div style="background-color:#402d6d">Text here</div>
#402d6d Border Color
This box has a border color of #402d6d
<div style="border: 4px solid #402d6d">Text here</div>
CSS codes
<p style="color:#402d6d">Text here</p>
<div style="background-color:#402d6d">Text here</div>
<div style="border: 4px solid #402d6d">Text here</div>
#402d6d Color on white background
This is how a font and box color of #402d6d will look
on a white background.
#402d6d Color on black background
This is how a font and box color of #402d6d hex color will look
on a black background.