In RGB color space, #402d71 hex color has a red value of 64, a green value of 45 and a blue value of 113.
In CMYK color space (used in color printing), #402d71 hex color is composed of 43.36% cyan, 60.18% magenta, 0% yellow and 55.69% black.
#402d71 color has a hue of 256.8 degrees, a saturation of 43.04% and a lightness of 31%.
#402d71 hex color contains mainly BLUE.
The closest web safe color of #402d71 is #333366
#402d71 hex color has a decimal value of 4205937.
HEX | 402d71 | #402d71 |
---|---|---|
RGB | 64, 45, 113 | rgb(64, 45, 113) |
RGB Percent | 25.1, 17.65, 44.31 | rgb(25.1, 17.65, 44.31) |
CMYK | 43, 60, 0, 56 | |
HSL | 256.8°, 43.04, 31 | hsl(256.8, 43.04%, 31%) |
HSV | 256.8°, 60.2, 44.3 |
XYZ | 6.033, 4.159, 16.108 |
---|---|
Hunter Lab | 20.394, 17.116, -32.555 |
CIE-LAB | 24.19, 26.216, -36.483 |
CIE-LCH | 24.19, 44.925, 305.7 |
CIE-LUV | 43.36, 60.18, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #402d71
CMYK percent of color #402d71
Text with hexadecimal color #402d71
This text has a font color of #402d71
<p style="color:#402d71">Text here</p>
#402d71 Background Color
This box has a background color of #402d71
<div style="background-color:#402d71">Text here</div>
#402d71 Border Color
This box has a border color of #402d71
<div style="border: 4px solid #402d71">Text here</div>
CSS codes
<p style="color:#402d71">Text here</p>
<div style="background-color:#402d71">Text here</div>
<div style="border: 4px solid #402d71">Text here</div>
#402d71 Color on white background
This is how a font and box color of #402d71 will look
on a white background.
#402d71 Color on black background
This is how a font and box color of #402d71 hex color will look
on a black background.