In RGB color space, #402c81 hex color has a red value of 64, a green value of 44 and a blue value of 129.
In CMYK color space (used in color printing), #402c81 hex color is composed of 50.39% cyan, 65.89% magenta, 0% yellow and 49.41% black.
#402c81 color has a hue of 254.1 degrees, a saturation of 49.13% and a lightness of 33.9%.
#402c81 hex color contains mainly BLUE.
The closest web safe color of #402c81 is #333399
#402c81 hex color has a decimal value of 4205697.
HEX | 402c81 | #402c81 |
---|---|---|
RGB | 64, 44, 129 | rgb(64, 44, 129) |
RGB Percent | 25.1, 17.25, 50.59 | rgb(25.1, 17.25, 50.59) |
CMYK | 50, 66, 0, 49 | |
HSL | 254.1°, 49.13, 33.9 | hsl(254.1, 49.13%, 33.9%) |
HSV | 254.1°, 65.9, 50.6 |
XYZ | 6.977, 4.476, 21.265 |
---|---|
Hunter Lab | 21.157, 21.842, -44.784 |
CIE-LAB | 25.186, 31.826, -45.026 |
CIE-LCH | 25.186, 55.138, 305.254 |
CIE-LUV | 50.39, 65.89, 0, 49.41 |
Web Safe | 333399 |
RGB percent of color #402c81
CMYK percent of color #402c81
Text with hexadecimal color #402c81
This text has a font color of #402c81
<p style="color:#402c81">Text here</p>
#402c81 Background Color
This box has a background color of #402c81
<div style="background-color:#402c81">Text here</div>
#402c81 Border Color
This box has a border color of #402c81
<div style="border: 4px solid #402c81">Text here</div>
CSS codes
<p style="color:#402c81">Text here</p>
<div style="background-color:#402c81">Text here</div>
<div style="border: 4px solid #402c81">Text here</div>
#402c81 Color on white background
This is how a font and box color of #402c81 will look
on a white background.
#402c81 Color on black background
This is how a font and box color of #402c81 hex color will look
on a black background.