In RGB color space, #402070 hex color has a red value of 64, a green value of 32 and a blue value of 112.
In CMYK color space (used in color printing), #402070 hex color is composed of 42.86% cyan, 71.43% magenta, 0% yellow and 56.08% black.
#402070 color has a hue of 264 degrees, a saturation of 55.56% and a lightness of 28.2%.
#402070 hex color contains mainly BLUE.
The closest web safe color of #402070 is #333366
#402070 hex color has a decimal value of 4202608.
HEX | 402070 | #402070 |
---|---|---|
RGB | 64, 32, 112 | rgb(64, 32, 112) |
RGB Percent | 25.1, 12.55, 43.92 | rgb(25.1, 12.55, 43.92) |
CMYK | 43, 71, 0, 56 | |
HSL | 264°, 55.56, 28.2 | hsl(264, 55.56%, 28.2%) |
HSV | 264°, 71.4, 43.9 |
XYZ | 5.555, 3.293, 15.672 |
---|---|
Hunter Lab | 18.147, 22.885, -38.502 |
CIE-LAB | 21.181, 33.774, -40.708 |
CIE-LCH | 21.181, 52.894, 309.681 |
CIE-LUV | 42.86, 71.43, 0, 56.08 |
Web Safe | 333366 |
RGB percent of color #402070
CMYK percent of color #402070
Text with hexadecimal color #402070
This text has a font color of #402070
<p style="color:#402070">Text here</p>
#402070 Background Color
This box has a background color of #402070
<div style="background-color:#402070">Text here</div>
#402070 Border Color
This box has a border color of #402070
<div style="border: 4px solid #402070">Text here</div>
CSS codes
<p style="color:#402070">Text here</p>
<div style="background-color:#402070">Text here</div>
<div style="border: 4px solid #402070">Text here</div>
#402070 Color on white background
This is how a font and box color of #402070 will look
on a white background.
#402070 Color on black background
This is how a font and box color of #402070 hex color will look
on a black background.