In RGB color space, #402871 hex color has a red value of 64, a green value of 40 and a blue value of 113.
In CMYK color space (used in color printing), #402871 hex color is composed of 43.36% cyan, 64.6% magenta, 0% yellow and 55.69% black.
#402871 color has a hue of 259.7 degrees, a saturation of 47.71% and a lightness of 30%.
#402871 hex color contains mainly BLUE.
The closest web safe color of #402871 is #333366
#402871 hex color has a decimal value of 4204657.
HEX | 402871 | #402871 |
---|---|---|
RGB | 64, 40, 113 | rgb(64, 40, 113) |
RGB Percent | 25.1, 15.69, 44.31 | rgb(25.1, 15.69, 44.31) |
CMYK | 43, 65, 0, 56 | |
HSL | 259.7°, 47.71, 30 | hsl(259.7, 47.71%, 30%) |
HSV | 259.7°, 64.6, 44.3 |
XYZ | 5.854, 3.8, 16.048 |
---|---|
Hunter Lab | 19.494, 19.49, -35.165 |
CIE-LAB | 22.999, 29.359, -38.406 |
CIE-LCH | 22.999, 48.342, 307.396 |
CIE-LUV | 43.36, 64.6, 0, 55.69 |
Web Safe | 333366 |
RGB percent of color #402871
CMYK percent of color #402871
Text with hexadecimal color #402871
This text has a font color of #402871
<p style="color:#402871">Text here</p>
#402871 Background Color
This box has a background color of #402871
<div style="background-color:#402871">Text here</div>
#402871 Border Color
This box has a border color of #402871
<div style="border: 4px solid #402871">Text here</div>
CSS codes
<p style="color:#402871">Text here</p>
<div style="background-color:#402871">Text here</div>
<div style="border: 4px solid #402871">Text here</div>
#402871 Color on white background
This is how a font and box color of #402871 will look
on a white background.
#402871 Color on black background
This is how a font and box color of #402871 hex color will look
on a black background.