In RGB color space, #402d55 hex color has a red value of 64, a green value of 45 and a blue value of 85.
In CMYK color space (used in color printing), #402d55 hex color is composed of 24.71% cyan, 47.06% magenta, 0% yellow and 66.67% black.
#402d55 color has a hue of 268.5 degrees, a saturation of 30.77% and a lightness of 25.5%.
#402d55 hex color contains mainly BLUE.
The closest web safe color of #402d55 is #333366
#402d55 hex color has a decimal value of 4205909.
HEX | 402d55 | #402d55 |
---|---|---|
RGB | 64, 45, 85 | rgb(64, 45, 85) |
RGB Percent | 25.1, 17.65, 33.33 | rgb(25.1, 17.65, 33.33) |
CMYK | 25, 47, 0, 67 | |
HSL | 268.5°, 30.77, 25.5 | hsl(268.5, 30.77%, 25.5%) |
HSV | 268.5°, 47.1, 33.3 |
XYZ | 4.692, 3.623, 9.046 |
---|---|
Hunter Lab | 19.034, 10.691, -14.854 |
CIE-LAB | 22.384, 17.971, -21.091 |
CIE-LCH | 22.384, 27.709, 310.433 |
CIE-LUV | 24.71, 47.06, 0, 66.67 |
Web Safe | 333366 |
RGB percent of color #402d55
CMYK percent of color #402d55
Text with hexadecimal color #402d55
This text has a font color of #402d55
<p style="color:#402d55">Text here</p>
#402d55 Background Color
This box has a background color of #402d55
<div style="background-color:#402d55">Text here</div>
#402d55 Border Color
This box has a border color of #402d55
<div style="border: 4px solid #402d55">Text here</div>
CSS codes
<p style="color:#402d55">Text here</p>
<div style="background-color:#402d55">Text here</div>
<div style="border: 4px solid #402d55">Text here</div>
#402d55 Color on white background
This is how a font and box color of #402d55 will look
on a white background.
#402d55 Color on black background
This is how a font and box color of #402d55 hex color will look
on a black background.