In RGB color space, #402047 hex color has a red value of 64, a green value of 32 and a blue value of 71.
In CMYK color space (used in color printing), #402047 hex color is composed of 9.86% cyan, 54.93% magenta, 0% yellow and 72.16% black.
#402047 color has a hue of 289.2 degrees, a saturation of 37.86% and a lightness of 20.2%.
#402047 hex color contains mainly BLUE.
The closest web safe color of #402047 is #333333
#402047 hex color has a decimal value of 4202567.
HEX | 402047 | #402047 |
---|---|---|
RGB | 64, 32, 71 | rgb(64, 32, 71) |
RGB Percent | 25.1, 12.55, 27.84 | rgb(25.1, 12.55, 27.84) |
CMYK | 10, 55, 0, 72 | |
HSL | 289.2°, 37.86, 20.2 | hsl(289.2, 37.86%, 20.2%) |
HSV | 289.2°, 54.9, 27.8 |
XYZ | 3.768, 2.578, 6.26 |
---|---|
Hunter Lab | 16.056, 13.791, -11.877 |
CIE-LAB | 18.268, 22.782, -18.109 |
CIE-LCH | 18.268, 29.102, 321.519 |
CIE-LUV | 9.86, 54.93, 0, 72.16 |
Web Safe | 333333 |
RGB percent of color #402047
CMYK percent of color #402047
Text with hexadecimal color #402047
This text has a font color of #402047
<p style="color:#402047">Text here</p>
#402047 Background Color
This box has a background color of #402047
<div style="background-color:#402047">Text here</div>
#402047 Border Color
This box has a border color of #402047
<div style="border: 4px solid #402047">Text here</div>
CSS codes
<p style="color:#402047">Text here</p>
<div style="background-color:#402047">Text here</div>
<div style="border: 4px solid #402047">Text here</div>
#402047 Color on white background
This is how a font and box color of #402047 will look
on a white background.
#402047 Color on black background
This is how a font and box color of #402047 hex color will look
on a black background.