In RGB color space, #402c80 hex color has a red value of 64, a green value of 44 and a blue value of 128.
In CMYK color space (used in color printing), #402c80 hex color is composed of 50% cyan, 65.63% magenta, 0% yellow and 49.8% black.
#402c80 color has a hue of 254.3 degrees, a saturation of 48.84% and a lightness of 33.7%.
#402c80 hex color contains mainly BLUE.
The closest web safe color of #402c80 is #333399
#402c80 hex color has a decimal value of 4205696.
HEX | 402c80 | #402c80 |
---|---|---|
RGB | 64, 44, 128 | rgb(64, 44, 128) |
RGB Percent | 25.1, 17.25, 50.2 | rgb(25.1, 17.25, 50.2) |
CMYK | 50, 66, 0, 50 | |
HSL | 254.3°, 48.84, 33.7 | hsl(254.3, 48.84%, 33.7%) |
HSV | 254.3°, 65.6, 50.2 |
XYZ | 6.911, 4.45, 20.917 |
---|---|
Hunter Lab | 21.095, 21.563, -44.023 |
CIE-LAB | 25.107, 31.508, -44.528 |
CIE-LCH | 25.107, 54.548, 305.283 |
CIE-LUV | 50, 65.63, 0, 49.8 |
Web Safe | 333399 |
RGB percent of color #402c80
CMYK percent of color #402c80
Text with hexadecimal color #402c80
This text has a font color of #402c80
<p style="color:#402c80">Text here</p>
#402c80 Background Color
This box has a background color of #402c80
<div style="background-color:#402c80">Text here</div>
#402c80 Border Color
This box has a border color of #402c80
<div style="border: 4px solid #402c80">Text here</div>
CSS codes
<p style="color:#402c80">Text here</p>
<div style="background-color:#402c80">Text here</div>
<div style="border: 4px solid #402c80">Text here</div>
#402c80 Color on white background
This is how a font and box color of #402c80 will look
on a white background.
#402c80 Color on black background
This is how a font and box color of #402c80 hex color will look
on a black background.