In RGB color space, #402d4e hex color has a red value of 64, a green value of 45 and a blue value of 78.
In CMYK color space (used in color printing), #402d4e hex color is composed of 17.95% cyan, 42.31% magenta, 0% yellow and 69.41% black.
#402d4e color has a hue of 274.5 degrees, a saturation of 26.83% and a lightness of 24.1%.
#402d4e hex color contains mainly BLUE.
The closest web safe color of #402d4e is #333366
#402d4e hex color has a decimal value of 4205902.
HEX | 402d4e | #402d4e |
---|---|---|
RGB | 64, 45, 78 | rgb(64, 45, 78) |
RGB Percent | 25.1, 17.65, 30.59 | rgb(25.1, 17.65, 30.59) |
CMYK | 18, 42, 0, 69 | |
HSL | 274.5°, 26.83, 24.1 | hsl(274.5, 26.83%, 24.1%) |
HSV | 274.5°, 42.3, 30.6 |
XYZ | 4.428, 3.517, 7.653 |
---|---|
Hunter Lab | 18.754, 9.327, -11.068 |
CIE-LAB | 22.006, 16.094, -17.011 |
CIE-LCH | 22.006, 23.418, 313.413 |
CIE-LUV | 17.95, 42.31, 0, 69.41 |
Web Safe | 333366 |
RGB percent of color #402d4e
CMYK percent of color #402d4e
Text with hexadecimal color #402d4e
This text has a font color of #402d4e
<p style="color:#402d4e">Text here</p>
#402d4e Background Color
This box has a background color of #402d4e
<div style="background-color:#402d4e">Text here</div>
#402d4e Border Color
This box has a border color of #402d4e
<div style="border: 4px solid #402d4e">Text here</div>
CSS codes
<p style="color:#402d4e">Text here</p>
<div style="background-color:#402d4e">Text here</div>
<div style="border: 4px solid #402d4e">Text here</div>
#402d4e Color on white background
This is how a font and box color of #402d4e will look
on a white background.
#402d4e Color on black background
This is how a font and box color of #402d4e hex color will look
on a black background.