In RGB color space, #402877 hex color has a red value of 64, a green value of 40 and a blue value of 119.
In CMYK color space (used in color printing), #402877 hex color is composed of 46.22% cyan, 66.39% magenta, 0% yellow and 53.33% black.
#402877 color has a hue of 258.2 degrees, a saturation of 49.69% and a lightness of 31.2%.
#402877 hex color contains mainly BLUE.
The closest web safe color of #402877 is #333366
#402877 hex color has a decimal value of 4204663.
HEX | 402877 | #402877 |
---|---|---|
RGB | 64, 40, 119 | rgb(64, 40, 119) |
RGB Percent | 25.1, 15.69, 46.67 | rgb(25.1, 15.69, 46.67) |
CMYK | 46, 66, 0, 53 | |
HSL | 258.2°, 49.69, 31.2 | hsl(258.2, 49.69%, 31.2%) |
HSV | 258.2°, 66.4, 46.7 |
XYZ | 6.203, 3.939, 17.886 |
---|---|
Hunter Lab | 19.847, 21.057, -39.539 |
CIE-LAB | 23.469, 31.183, -41.484 |
CIE-LCH | 23.469, 51.897, 306.932 |
CIE-LUV | 46.22, 66.39, 0, 53.33 |
Web Safe | 333366 |
RGB percent of color #402877
CMYK percent of color #402877
Text with hexadecimal color #402877
This text has a font color of #402877
<p style="color:#402877">Text here</p>
#402877 Background Color
This box has a background color of #402877
<div style="background-color:#402877">Text here</div>
#402877 Border Color
This box has a border color of #402877
<div style="border: 4px solid #402877">Text here</div>
CSS codes
<p style="color:#402877">Text here</p>
<div style="background-color:#402877">Text here</div>
<div style="border: 4px solid #402877">Text here</div>
#402877 Color on white background
This is how a font and box color of #402877 will look
on a white background.
#402877 Color on black background
This is how a font and box color of #402877 hex color will look
on a black background.