In RGB color space, #402f56 hex color has a red value of 64, a green value of 47 and a blue value of 86.
In CMYK color space (used in color printing), #402f56 hex color is composed of 25.58% cyan, 45.35% magenta, 0% yellow and 66.27% black.
#402f56 color has a hue of 266.2 degrees, a saturation of 29.32% and a lightness of 26.1%.
#402f56 hex color contains mainly BLUE.
The closest web safe color of #402f56 is #333366
#402f56 hex color has a decimal value of 4206422.
HEX | 402f56 | #402f56 |
---|---|---|
RGB | 64, 47, 86 | rgb(64, 47, 86) |
RGB Percent | 25.1, 18.43, 33.73 | rgb(25.1, 18.43, 33.73) |
CMYK | 26, 45, 0, 66 | |
HSL | 266.2°, 29.32, 26.1 | hsl(266.2, 29.32%, 26.1%) |
HSV | 266.2°, 45.3, 33.7 |
XYZ | 4.811, 3.795, 9.283 |
---|---|
Hunter Lab | 19.481, 9.991, -14.616 |
CIE-LAB | 22.982, 16.931, -20.815 |
CIE-LCH | 22.982, 26.831, 309.125 |
CIE-LUV | 25.58, 45.35, 0, 66.27 |
Web Safe | 333366 |
RGB percent of color #402f56
CMYK percent of color #402f56
Text with hexadecimal color #402f56
This text has a font color of #402f56
<p style="color:#402f56">Text here</p>
#402f56 Background Color
This box has a background color of #402f56
<div style="background-color:#402f56">Text here</div>
#402f56 Border Color
This box has a border color of #402f56
<div style="border: 4px solid #402f56">Text here</div>
CSS codes
<p style="color:#402f56">Text here</p>
<div style="background-color:#402f56">Text here</div>
<div style="border: 4px solid #402f56">Text here</div>
#402f56 Color on white background
This is how a font and box color of #402f56 will look
on a white background.
#402f56 Color on black background
This is how a font and box color of #402f56 hex color will look
on a black background.