In RGB color space, #402752 hex color has a red value of 64, a green value of 39 and a blue value of 82.
In CMYK color space (used in color printing), #402752 hex color is composed of 21.95% cyan, 52.44% magenta, 0% yellow and 67.84% black.
#402752 color has a hue of 274.9 degrees, a saturation of 35.54% and a lightness of 23.7%.
#402752 hex color contains mainly BLUE.
The closest web safe color of #402752 is #333366
#402752 hex color has a decimal value of 4204370.
HEX | 402752 | #402752 |
---|---|---|
RGB | 64, 39, 82 | rgb(64, 39, 82) |
RGB Percent | 25.1, 15.29, 32.16 | rgb(25.1, 15.29, 32.16) |
CMYK | 22, 52, 0, 68 | |
HSL | 274.9°, 35.54, 23.7 | hsl(274.9, 35.54%, 23.7%) |
HSV | 274.9°, 52.4, 32.2 |
XYZ | 4.363, 3.15, 8.361 |
---|---|
Hunter Lab | 17.748, 12.821, -15.507 |
CIE-LAB | 20.635, 21.118, -21.845 |
CIE-LCH | 20.635, 30.384, 314.031 |
CIE-LUV | 21.95, 52.44, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402752
CMYK percent of color #402752
Text with hexadecimal color #402752
This text has a font color of #402752
<p style="color:#402752">Text here</p>
#402752 Background Color
This box has a background color of #402752
<div style="background-color:#402752">Text here</div>
#402752 Border Color
This box has a border color of #402752
<div style="border: 4px solid #402752">Text here</div>
CSS codes
<p style="color:#402752">Text here</p>
<div style="background-color:#402752">Text here</div>
<div style="border: 4px solid #402752">Text here</div>
#402752 Color on white background
This is how a font and box color of #402752 will look
on a white background.
#402752 Color on black background
This is how a font and box color of #402752 hex color will look
on a black background.