In RGB color space, #402989 hex color has a red value of 64, a green value of 41 and a blue value of 137.
In CMYK color space (used in color printing), #402989 hex color is composed of 53.28% cyan, 70.07% magenta, 0% yellow and 46.27% black.
#402989 color has a hue of 254.4 degrees, a saturation of 53.93% and a lightness of 34.9%.
#402989 hex color contains mainly BLUE.
The closest web safe color of #402989 is #333399
#402989 hex color has a decimal value of 4204937.
HEX | 402989 | #402989 |
---|---|---|
RGB | 64, 41, 137 | rgb(64, 41, 137) |
RGB Percent | 25.1, 16.08, 53.73 | rgb(25.1, 16.08, 53.73) |
CMYK | 53, 70, 0, 46 | |
HSL | 254.4°, 53.93, 34.9 | hsl(254.4, 53.93%, 34.9%) |
HSV | 254.4°, 70.1, 53.7 |
XYZ | 7.423, 4.482, 24.141 |
---|---|
Hunter Lab | 21.171, 25.538, -52.789 |
CIE-LAB | 25.205, 36.115, -50.006 |
CIE-LCH | 25.205, 61.684, 305.837 |
CIE-LUV | 53.28, 70.07, 0, 46.27 |
Web Safe | 333399 |
RGB percent of color #402989
CMYK percent of color #402989
Text with hexadecimal color #402989
This text has a font color of #402989
<p style="color:#402989">Text here</p>
#402989 Background Color
This box has a background color of #402989
<div style="background-color:#402989">Text here</div>
#402989 Border Color
This box has a border color of #402989
<div style="border: 4px solid #402989">Text here</div>
CSS codes
<p style="color:#402989">Text here</p>
<div style="background-color:#402989">Text here</div>
<div style="border: 4px solid #402989">Text here</div>
#402989 Color on white background
This is how a font and box color of #402989 will look
on a white background.
#402989 Color on black background
This is how a font and box color of #402989 hex color will look
on a black background.