In RGB color space, #402789 hex color has a red value of 64, a green value of 39 and a blue value of 137.
In CMYK color space (used in color printing), #402789 hex color is composed of 53.28% cyan, 71.53% magenta, 0% yellow and 46.27% black.
#402789 color has a hue of 255.3 degrees, a saturation of 55.68% and a lightness of 34.5%.
#402789 hex color contains mainly BLUE.
The closest web safe color of #402789 is #333399
#402789 hex color has a decimal value of 4204425.
HEX | 402789 | #402789 |
---|---|---|
RGB | 64, 39, 137 | rgb(64, 39, 137) |
RGB Percent | 25.1, 15.29, 53.73 | rgb(25.1, 15.29, 53.73) |
CMYK | 53, 72, 0, 46 | |
HSL | 255.3°, 55.68, 34.5 | hsl(255.3, 55.68%, 34.5%) |
HSV | 255.3°, 71.5, 53.7 |
XYZ | 7.355, 4.347, 24.118 |
---|---|
Hunter Lab | 20.849, 26.482, -53.99 |
CIE-LAB | 24.787, 37.262, -50.688 |
CIE-LCH | 24.787, 62.91, 306.321 |
CIE-LUV | 53.28, 71.53, 0, 46.27 |
Web Safe | 333399 |
RGB percent of color #402789
CMYK percent of color #402789
Text with hexadecimal color #402789
This text has a font color of #402789
<p style="color:#402789">Text here</p>
#402789 Background Color
This box has a background color of #402789
<div style="background-color:#402789">Text here</div>
#402789 Border Color
This box has a border color of #402789
<div style="border: 4px solid #402789">Text here</div>
CSS codes
<p style="color:#402789">Text here</p>
<div style="background-color:#402789">Text here</div>
<div style="border: 4px solid #402789">Text here</div>
#402789 Color on white background
This is how a font and box color of #402789 will look
on a white background.
#402789 Color on black background
This is how a font and box color of #402789 hex color will look
on a black background.