In RGB color space, #402858 hex color has a red value of 64, a green value of 40 and a blue value of 88.
In CMYK color space (used in color printing), #402858 hex color is composed of 27.27% cyan, 54.55% magenta, 0% yellow and 65.49% black.
#402858 color has a hue of 270 degrees, a saturation of 37.5% and a lightness of 25.1%.
#402858 hex color contains mainly BLUE.
The closest web safe color of #402858 is #333366
#402858 hex color has a decimal value of 4204632.
HEX | 402858 | #402858 |
---|---|---|
RGB | 64, 40, 88 | rgb(64, 40, 88) |
RGB Percent | 25.1, 15.69, 34.51 | rgb(25.1, 15.69, 34.51) |
CMYK | 27, 55, 0, 65 | |
HSL | 270°, 37.5, 25.1 | hsl(270, 37.5%, 25.1%) |
HSV | 270°, 54.5, 34.5 |
XYZ | 4.635, 3.312, 9.628 |
---|---|
Hunter Lab | 18.199, 13.613, -18.628 |
CIE-LAB | 21.252, 22.102, -24.874 |
CIE-LCH | 21.252, 33.275, 311.623 |
CIE-LUV | 27.27, 54.55, 0, 65.49 |
Web Safe | 333366 |
RGB percent of color #402858
CMYK percent of color #402858
Text with hexadecimal color #402858
This text has a font color of #402858
<p style="color:#402858">Text here</p>
#402858 Background Color
This box has a background color of #402858
<div style="background-color:#402858">Text here</div>
#402858 Border Color
This box has a border color of #402858
<div style="border: 4px solid #402858">Text here</div>
CSS codes
<p style="color:#402858">Text here</p>
<div style="background-color:#402858">Text here</div>
<div style="border: 4px solid #402858">Text here</div>
#402858 Color on white background
This is how a font and box color of #402858 will look
on a white background.
#402858 Color on black background
This is how a font and box color of #402858 hex color will look
on a black background.