In RGB color space, #402057 hex color has a red value of 64, a green value of 32 and a blue value of 87.
In CMYK color space (used in color printing), #402057 hex color is composed of 26.44% cyan, 63.22% magenta, 0% yellow and 65.88% black.
#402057 color has a hue of 274.9 degrees, a saturation of 46.22% and a lightness of 23.3%.
#402057 hex color contains mainly BLUE.
The closest web safe color of #402057 is #333366
#402057 hex color has a decimal value of 4202583.
HEX | 402057 | #402057 |
---|---|---|
RGB | 64, 32, 87 | rgb(64, 32, 87) |
RGB Percent | 25.1, 12.55, 34.12 | rgb(25.1, 12.55, 34.12) |
CMYK | 26, 63, 0, 66 | |
HSL | 274.9°, 46.22, 23.3 | hsl(274.9, 46.22%, 23.3%) |
HSV | 274.9°, 63.2, 34.1 |
XYZ | 4.351, 2.811, 9.33 |
---|---|
Hunter Lab | 16.766, 16.982, -21.258 |
CIE-LAB | 19.27, 26.835, -27.362 |
CIE-LCH | 19.27, 38.325, 314.443 |
CIE-LUV | 26.44, 63.22, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #402057
CMYK percent of color #402057
Text with hexadecimal color #402057
This text has a font color of #402057
<p style="color:#402057">Text here</p>
#402057 Background Color
This box has a background color of #402057
<div style="background-color:#402057">Text here</div>
#402057 Border Color
This box has a border color of #402057
<div style="border: 4px solid #402057">Text here</div>
CSS codes
<p style="color:#402057">Text here</p>
<div style="background-color:#402057">Text here</div>
<div style="border: 4px solid #402057">Text here</div>
#402057 Color on white background
This is how a font and box color of #402057 will look
on a white background.
#402057 Color on black background
This is how a font and box color of #402057 hex color will look
on a black background.