In RGB color space, #402981 hex color has a red value of 64, a green value of 41 and a blue value of 129.
In CMYK color space (used in color printing), #402981 hex color is composed of 50.39% cyan, 68.22% magenta, 0% yellow and 49.41% black.
#402981 color has a hue of 255.7 degrees, a saturation of 51.76% and a lightness of 33.3%.
#402981 hex color contains mainly BLUE.
The closest web safe color of #402981 is #333399
#402981 hex color has a decimal value of 4204929.
HEX | 402981 | #402981 |
---|---|---|
RGB | 64, 41, 129 | rgb(64, 41, 129) |
RGB Percent | 25.1, 16.08, 50.59 | rgb(25.1, 16.08, 50.59) |
CMYK | 50, 68, 0, 49 | |
HSL | 255.7°, 51.76, 33.3 | hsl(255.7, 51.76%, 33.3%) |
HSV | 255.7°, 68.2, 50.6 |
XYZ | 6.87, 4.261, 21.229 |
---|---|
Hunter Lab | 20.642, 23.283, -46.526 |
CIE-LAB | 24.516, 33.639, -46.117 |
CIE-LCH | 24.516, 57.082, 306.108 |
CIE-LUV | 50.39, 68.22, 0, 49.41 |
Web Safe | 333399 |
RGB percent of color #402981
CMYK percent of color #402981
Text with hexadecimal color #402981
This text has a font color of #402981
<p style="color:#402981">Text here</p>
#402981 Background Color
This box has a background color of #402981
<div style="background-color:#402981">Text here</div>
#402981 Border Color
This box has a border color of #402981
<div style="border: 4px solid #402981">Text here</div>
CSS codes
<p style="color:#402981">Text here</p>
<div style="background-color:#402981">Text here</div>
<div style="border: 4px solid #402981">Text here</div>
#402981 Color on white background
This is how a font and box color of #402981 will look
on a white background.
#402981 Color on black background
This is how a font and box color of #402981 hex color will look
on a black background.