In RGB color space, #402c51 hex color has a red value of 64, a green value of 44 and a blue value of 81.
In CMYK color space (used in color printing), #402c51 hex color is composed of 20.99% cyan, 45.68% magenta, 0% yellow and 68.24% black.
#402c51 color has a hue of 272.4 degrees, a saturation of 29.6% and a lightness of 24.5%.
#402c51 hex color contains mainly BLUE.
The closest web safe color of #402c51 is #333366
#402c51 hex color has a decimal value of 4205649.
HEX | 402c51 | #402c51 |
---|---|---|
RGB | 64, 44, 81 | rgb(64, 44, 81) |
RGB Percent | 25.1, 17.25, 31.76 | rgb(25.1, 17.25, 31.76) |
CMYK | 21, 46, 0, 68 | |
HSL | 272.4°, 29.6, 24.5 | hsl(272.4, 29.6%, 24.5%) |
HSV | 272.4°, 45.7, 31.8 |
XYZ | 4.5, 3.485, 8.22 |
---|---|
Hunter Lab | 18.668, 10.359, -13.039 |
CIE-LAB | 21.89, 17.562, -19.2 |
CIE-LCH | 21.89, 26.02, 312.449 |
CIE-LUV | 20.99, 45.68, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #402c51
CMYK percent of color #402c51
Text with hexadecimal color #402c51
This text has a font color of #402c51
<p style="color:#402c51">Text here</p>
#402c51 Background Color
This box has a background color of #402c51
<div style="background-color:#402c51">Text here</div>
#402c51 Border Color
This box has a border color of #402c51
<div style="border: 4px solid #402c51">Text here</div>
CSS codes
<p style="color:#402c51">Text here</p>
<div style="background-color:#402c51">Text here</div>
<div style="border: 4px solid #402c51">Text here</div>
#402c51 Color on white background
This is how a font and box color of #402c51 will look
on a white background.
#402c51 Color on black background
This is how a font and box color of #402c51 hex color will look
on a black background.