In RGB color space, #402c56 hex color has a red value of 64, a green value of 44 and a blue value of 86.
In CMYK color space (used in color printing), #402c56 hex color is composed of 25.58% cyan, 48.84% magenta, 0% yellow and 66.27% black.
#402c56 color has a hue of 268.6 degrees, a saturation of 32.31% and a lightness of 25.5%.
#402c56 hex color contains mainly BLUE.
The closest web safe color of #402c56 is #333366
#402c56 hex color has a decimal value of 4205654.
HEX | 402c56 | #402c56 |
---|---|---|
RGB | 64, 44, 86 | rgb(64, 44, 86) |
RGB Percent | 25.1, 17.25, 33.73 | rgb(25.1, 17.25, 33.73) |
CMYK | 26, 49, 0, 66 | |
HSL | 268.6°, 32.31, 25.5 | hsl(268.6, 32.31%, 25.5%) |
HSV | 268.6°, 48.8, 33.7 |
XYZ | 4.695, 3.563, 9.244 |
---|---|
Hunter Lab | 18.876, 11.365, -15.823 |
CIE-LAB | 22.171, 18.929, -22.09 |
CIE-LCH | 22.171, 29.091, 310.593 |
CIE-LUV | 25.58, 48.84, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #402c56
CMYK percent of color #402c56
Text with hexadecimal color #402c56
This text has a font color of #402c56
<p style="color:#402c56">Text here</p>
#402c56 Background Color
This box has a background color of #402c56
<div style="background-color:#402c56">Text here</div>
#402c56 Border Color
This box has a border color of #402c56
<div style="border: 4px solid #402c56">Text here</div>
CSS codes
<p style="color:#402c56">Text here</p>
<div style="background-color:#402c56">Text here</div>
<div style="border: 4px solid #402c56">Text here</div>
#402c56 Color on white background
This is how a font and box color of #402c56 will look
on a white background.
#402c56 Color on black background
This is how a font and box color of #402c56 hex color will look
on a black background.