In RGB color space, #402d6a hex color has a red value of 64, a green value of 45 and a blue value of 106.
In CMYK color space (used in color printing), #402d6a hex color is composed of 39.62% cyan, 57.55% magenta, 0% yellow and 58.43% black.
#402d6a color has a hue of 258.7 degrees, a saturation of 40.4% and a lightness of 29.6%.
#402d6a hex color contains mainly BLUE.
The closest web safe color of #402d6a is #333366
#402d6a hex color has a decimal value of 4205930.
HEX | 402d6a | #402d6a |
---|---|---|
RGB | 64, 45, 106 | rgb(64, 45, 106) |
RGB Percent | 25.1, 17.65, 41.57 | rgb(25.1, 17.65, 41.57) |
CMYK | 40, 58, 0, 58 | |
HSL | 258.7°, 40.4, 29.6 | hsl(258.7, 40.4%, 29.6%) |
HSV | 258.7°, 57.5, 41.6 |
XYZ | 5.654, 4.007, 14.111 |
---|---|
Hunter Lab | 20.017, 15.387, -27.783 |
CIE-LAB | 23.695, 24.086, -32.772 |
CIE-LCH | 23.695, 40.671, 306.314 |
CIE-LUV | 39.62, 57.55, 0, 58.43 |
Web Safe | 333366 |
RGB percent of color #402d6a
CMYK percent of color #402d6a
Text with hexadecimal color #402d6a
This text has a font color of #402d6a
<p style="color:#402d6a">Text here</p>
#402d6a Background Color
This box has a background color of #402d6a
<div style="background-color:#402d6a">Text here</div>
#402d6a Border Color
This box has a border color of #402d6a
<div style="border: 4px solid #402d6a">Text here</div>
CSS codes
<p style="color:#402d6a">Text here</p>
<div style="background-color:#402d6a">Text here</div>
<div style="border: 4px solid #402d6a">Text here</div>
#402d6a Color on white background
This is how a font and box color of #402d6a will look
on a white background.
#402d6a Color on black background
This is how a font and box color of #402d6a hex color will look
on a black background.