In RGB color space, #402a76 hex color has a red value of 64, a green value of 42 and a blue value of 118.
In CMYK color space (used in color printing), #402a76 hex color is composed of 45.76% cyan, 64.41% magenta, 0% yellow and 53.73% black.
#402a76 color has a hue of 257.4 degrees, a saturation of 47.5% and a lightness of 31.4%.
#402a76 hex color contains mainly BLUE.
The closest web safe color of #402a76 is #333366
#402a76 hex color has a decimal value of 4205174.
HEX | 402a76 | #402a76 |
---|---|---|
RGB | 64, 42, 118 | rgb(64, 42, 118) |
RGB Percent | 25.1, 16.47, 46.27 | rgb(25.1, 16.47, 46.27) |
CMYK | 46, 64, 0, 54 | |
HSL | 257.4°, 47.5, 31.4 | hsl(257.4, 47.5%, 31.4%) |
HSV | 257.4°, 64.4, 46.3 |
XYZ | 6.212, 4.054, 17.595 |
---|---|
Hunter Lab | 20.135, 19.836, -37.718 |
CIE-LAB | 23.849, 29.64, -40.231 |
CIE-LCH | 23.849, 49.971, 306.381 |
CIE-LUV | 45.76, 64.41, 0, 53.73 |
Web Safe | 333366 |
RGB percent of color #402a76
CMYK percent of color #402a76
Text with hexadecimal color #402a76
This text has a font color of #402a76
<p style="color:#402a76">Text here</p>
#402a76 Background Color
This box has a background color of #402a76
<div style="background-color:#402a76">Text here</div>
#402a76 Border Color
This box has a border color of #402a76
<div style="border: 4px solid #402a76">Text here</div>
CSS codes
<p style="color:#402a76">Text here</p>
<div style="background-color:#402a76">Text here</div>
<div style="border: 4px solid #402a76">Text here</div>
#402a76 Color on white background
This is how a font and box color of #402a76 will look
on a white background.
#402a76 Color on black background
This is how a font and box color of #402a76 hex color will look
on a black background.