In RGB color space, #402862 hex color has a red value of 64, a green value of 40 and a blue value of 98.
In CMYK color space (used in color printing), #402862 hex color is composed of 34.69% cyan, 59.18% magenta, 0% yellow and 61.57% black.
#402862 color has a hue of 264.8 degrees, a saturation of 42.03% and a lightness of 27.1%.
#402862 hex color contains mainly BLUE.
The closest web safe color of #402862 is #333366
#402862 hex color has a decimal value of 4204642.
HEX | 402862 | #402862 |
---|---|---|
RGB | 64, 40, 98 | rgb(64, 40, 98) |
RGB Percent | 25.1, 15.69, 38.43 | rgb(25.1, 15.69, 38.43) |
CMYK | 35, 59, 0, 62 | |
HSL | 264.8°, 42.03, 27.1 | hsl(264.8, 42.03%, 27.1%) |
HSV | 264.8°, 59.2, 38.4 |
XYZ | 5.078, 3.489, 11.961 |
---|---|
Hunter Lab | 18.679, 15.839, -24.891 |
CIE-LAB | 21.905, 24.935, -30.433 |
CIE-LCH | 21.905, 39.344, 309.329 |
CIE-LUV | 34.69, 59.18, 0, 61.57 |
Web Safe | 333366 |
RGB percent of color #402862
CMYK percent of color #402862
Text with hexadecimal color #402862
This text has a font color of #402862
<p style="color:#402862">Text here</p>
#402862 Background Color
This box has a background color of #402862
<div style="background-color:#402862">Text here</div>
#402862 Border Color
This box has a border color of #402862
<div style="border: 4px solid #402862">Text here</div>
CSS codes
<p style="color:#402862">Text here</p>
<div style="background-color:#402862">Text here</div>
<div style="border: 4px solid #402862">Text here</div>
#402862 Color on white background
This is how a font and box color of #402862 will look
on a white background.
#402862 Color on black background
This is how a font and box color of #402862 hex color will look
on a black background.