In RGB color space, #402d6f hex color has a red value of 64, a green value of 45 and a blue value of 111.
In CMYK color space (used in color printing), #402d6f hex color is composed of 42.34% cyan, 59.46% magenta, 0% yellow and 56.47% black.
#402d6f color has a hue of 257.3 degrees, a saturation of 42.31% and a lightness of 30.6%.
#402d6f hex color contains mainly BLUE.
The closest web safe color of #402d6f is #333366
#402d6f hex color has a decimal value of 4205935.
HEX | 402d6f | #402d6f |
---|---|---|
RGB | 64, 45, 111 | rgb(64, 45, 111) |
RGB Percent | 25.1, 17.65, 43.53 | rgb(25.1, 17.65, 43.53) |
CMYK | 42, 59, 0, 56 | |
HSL | 257.3°, 42.31, 30.6 | hsl(257.3, 42.31%, 30.6%) |
HSV | 257.3°, 59.5, 43.5 |
XYZ | 5.922, 4.114, 15.521 |
---|---|
Hunter Lab | 20.283, 16.621, -31.172 |
CIE-LAB | 24.045, 25.613, -35.433 |
CIE-LCH | 24.045, 43.721, 305.862 |
CIE-LUV | 42.34, 59.46, 0, 56.47 |
Web Safe | 333366 |
RGB percent of color #402d6f
CMYK percent of color #402d6f
Text with hexadecimal color #402d6f
This text has a font color of #402d6f
<p style="color:#402d6f">Text here</p>
#402d6f Background Color
This box has a background color of #402d6f
<div style="background-color:#402d6f">Text here</div>
#402d6f Border Color
This box has a border color of #402d6f
<div style="border: 4px solid #402d6f">Text here</div>
CSS codes
<p style="color:#402d6f">Text here</p>
<div style="background-color:#402d6f">Text here</div>
<div style="border: 4px solid #402d6f">Text here</div>
#402d6f Color on white background
This is how a font and box color of #402d6f will look
on a white background.
#402d6f Color on black background
This is how a font and box color of #402d6f hex color will look
on a black background.