In RGB color space, #402872 hex color has a red value of 64, a green value of 40 and a blue value of 114.
In CMYK color space (used in color printing), #402872 hex color is composed of 43.86% cyan, 64.91% magenta, 0% yellow and 55.29% black.
#402872 color has a hue of 259.5 degrees, a saturation of 48.05% and a lightness of 30.2%.
#402872 hex color contains mainly BLUE.
The closest web safe color of #402872 is #333366
#402872 hex color has a decimal value of 4204658.
HEX | 402872 | #402872 |
---|---|---|
RGB | 64, 40, 114 | rgb(64, 40, 114) |
RGB Percent | 25.1, 15.69, 44.71 | rgb(25.1, 15.69, 44.71) |
CMYK | 44, 65, 0, 55 | |
HSL | 259.5°, 48.05, 30.2 | hsl(259.5, 48.05%, 30.2%) |
HSV | 259.5°, 64.9, 44.7 |
XYZ | 5.91, 3.822, 16.346 |
---|---|
Hunter Lab | 19.55, 19.749, -35.888 |
CIE-LAB | 23.074, 29.663, -38.926 |
CIE-LCH | 23.074, 48.94, 307.309 |
CIE-LUV | 43.86, 64.91, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #402872
CMYK percent of color #402872
Text with hexadecimal color #402872
This text has a font color of #402872
<p style="color:#402872">Text here</p>
#402872 Background Color
This box has a background color of #402872
<div style="background-color:#402872">Text here</div>
#402872 Border Color
This box has a border color of #402872
<div style="border: 4px solid #402872">Text here</div>
CSS codes
<p style="color:#402872">Text here</p>
<div style="background-color:#402872">Text here</div>
<div style="border: 4px solid #402872">Text here</div>
#402872 Color on white background
This is how a font and box color of #402872 will look
on a white background.
#402872 Color on black background
This is how a font and box color of #402872 hex color will look
on a black background.