In RGB color space, #402a71 hex color has a red value of 64, a green value of 42 and a blue value of 113.
In CMYK color space (used in color printing), #402a71 hex color is composed of 43.36% cyan, 62.83% magenta, 0% yellow and 55.69% black.
#402a71 color has a hue of 258.6 degrees, a saturation of 45.81% and a lightness of 30.4%.
#402a71 hex color contains mainly BLUE.
The closest web safe color of #402a71 is #333366
#402a71 hex color has a decimal value of 4205169.
HEX | 402a71 | #402a71 |
---|---|---|
RGB | 64, 42, 113 | rgb(64, 42, 113) |
RGB Percent | 25.1, 16.47, 44.31 | rgb(25.1, 16.47, 44.31) |
CMYK | 43, 63, 0, 56 | |
HSL | 258.6°, 45.81, 30.4 | hsl(258.6, 45.81%, 30.4%) |
HSV | 258.6°, 62.8, 44.3 |
XYZ | 5.923, 3.938, 16.071 |
---|---|
Hunter Lab | 19.844, 18.55, -34.125 |
CIE-LAB | 23.465, 28.121, -37.652 |
CIE-LCH | 23.465, 46.994, 306.755 |
CIE-LUV | 43.36, 62.83, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #402a71
CMYK percent of color #402a71
Text with hexadecimal color #402a71
This text has a font color of #402a71
<p style="color:#402a71">Text here</p>
#402a71 Background Color
This box has a background color of #402a71
<div style="background-color:#402a71">Text here</div>
#402a71 Border Color
This box has a border color of #402a71
<div style="border: 4px solid #402a71">Text here</div>
CSS codes
<p style="color:#402a71">Text here</p>
<div style="background-color:#402a71">Text here</div>
<div style="border: 4px solid #402a71">Text here</div>
#402a71 Color on white background
This is how a font and box color of #402a71 will look
on a white background.
#402a71 Color on black background
This is how a font and box color of #402a71 hex color will look
on a black background.