In RGB color space, #402f66 hex color has a red value of 64, a green value of 47 and a blue value of 102.
In CMYK color space (used in color printing), #402f66 hex color is composed of 37.25% cyan, 53.92% magenta, 0% yellow and 60% black.
#402f66 color has a hue of 258.5 degrees, a saturation of 36.91% and a lightness of 29.2%.
#402f66 hex color contains mainly BLUE.
The closest web safe color of #402f66 is #333366
#402f66 hex color has a decimal value of 4206438.
HEX | 402f66 | #402f66 |
---|---|---|
RGB | 64, 47, 102 | rgb(64, 47, 102) |
RGB Percent | 25.1, 18.43, 40 | rgb(25.1, 18.43, 40) |
CMYK | 37, 54, 0, 60 | |
HSL | 258.5°, 36.91, 29.2 | hsl(258.5, 36.91%, 29.2%) |
HSV | 258.5°, 53.9, 40 |
XYZ | 5.529, 4.082, 13.067 |
---|---|
Hunter Lab | 20.204, 13.491, -24.203 |
CIE-LAB | 23.941, 21.576, -29.788 |
CIE-LCH | 23.941, 36.781, 305.917 |
CIE-LUV | 37.25, 53.92, 0, 60 |
Web Safe | 333366 |
RGB percent of color #402f66
CMYK percent of color #402f66
Text with hexadecimal color #402f66
This text has a font color of #402f66
<p style="color:#402f66">Text here</p>
#402f66 Background Color
This box has a background color of #402f66
<div style="background-color:#402f66">Text here</div>
#402f66 Border Color
This box has a border color of #402f66
<div style="border: 4px solid #402f66">Text here</div>
CSS codes
<p style="color:#402f66">Text here</p>
<div style="background-color:#402f66">Text here</div>
<div style="border: 4px solid #402f66">Text here</div>
#402f66 Color on white background
This is how a font and box color of #402f66 will look
on a white background.
#402f66 Color on black background
This is how a font and box color of #402f66 hex color will look
on a black background.