In RGB color space, #402857 hex color has a red value of 64, a green value of 40 and a blue value of 87.
In CMYK color space (used in color printing), #402857 hex color is composed of 26.44% cyan, 54.02% magenta, 0% yellow and 65.88% black.
#402857 color has a hue of 270.6 degrees, a saturation of 37.01% and a lightness of 24.9%.
#402857 hex color contains mainly BLUE.
The closest web safe color of #402857 is #333366
#402857 hex color has a decimal value of 4204631.
HEX | 402857 | #402857 |
---|---|---|
RGB | 64, 40, 87 | rgb(64, 40, 87) |
RGB Percent | 25.1, 15.69, 34.12 | rgb(25.1, 15.69, 34.12) |
CMYK | 26, 54, 0, 66 | |
HSL | 270.6°, 37.01, 24.9 | hsl(270.6, 37.01%, 24.9%) |
HSV | 270.6°, 54, 34.1 |
XYZ | 4.593, 3.296, 9.411 |
---|---|
Hunter Lab | 18.155, 13.388, -18.026 |
CIE-LAB | 21.192, 21.807, -24.303 |
CIE-LCH | 21.192, 32.652, 311.902 |
CIE-LUV | 26.44, 54.02, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #402857
CMYK percent of color #402857
Text with hexadecimal color #402857
This text has a font color of #402857
<p style="color:#402857">Text here</p>
#402857 Background Color
This box has a background color of #402857
<div style="background-color:#402857">Text here</div>
#402857 Border Color
This box has a border color of #402857
<div style="border: 4px solid #402857">Text here</div>
CSS codes
<p style="color:#402857">Text here</p>
<div style="background-color:#402857">Text here</div>
<div style="border: 4px solid #402857">Text here</div>
#402857 Color on white background
This is how a font and box color of #402857 will look
on a white background.
#402857 Color on black background
This is how a font and box color of #402857 hex color will look
on a black background.