In RGB color space, #402d72 hex color has a red value of 64, a green value of 45 and a blue value of 114.
In CMYK color space (used in color printing), #402d72 hex color is composed of 43.86% cyan, 60.53% magenta, 0% yellow and 55.29% black.
#402d72 color has a hue of 256.5 degrees, a saturation of 43.4% and a lightness of 31.2%.
#402d72 hex color contains mainly BLUE.
The closest web safe color of #402d72 is #333366
#402d72 hex color has a decimal value of 4205938.
HEX | 402d72 | #402d72 |
---|---|---|
RGB | 64, 45, 114 | rgb(64, 45, 114) |
RGB Percent | 25.1, 17.65, 44.71 | rgb(25.1, 17.65, 44.71) |
CMYK | 44, 61, 0, 55 | |
HSL | 256.5°, 43.4, 31.2 | hsl(256.5, 43.4%, 31.2%) |
HSV | 256.5°, 60.5, 44.7 |
XYZ | 6.09, 4.182, 16.406 |
---|---|
Hunter Lab | 20.45, 17.37, -33.251 |
CIE-LAB | 24.264, 26.524, -37.004 |
CIE-LCH | 24.264, 45.528, 305.632 |
CIE-LUV | 43.86, 60.53, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #402d72
CMYK percent of color #402d72
Text with hexadecimal color #402d72
This text has a font color of #402d72
<p style="color:#402d72">Text here</p>
#402d72 Background Color
This box has a background color of #402d72
<div style="background-color:#402d72">Text here</div>
#402d72 Border Color
This box has a border color of #402d72
<div style="border: 4px solid #402d72">Text here</div>
CSS codes
<p style="color:#402d72">Text here</p>
<div style="background-color:#402d72">Text here</div>
<div style="border: 4px solid #402d72">Text here</div>
#402d72 Color on white background
This is how a font and box color of #402d72 will look
on a white background.
#402d72 Color on black background
This is how a font and box color of #402d72 hex color will look
on a black background.