In RGB color space, #402d80 hex color has a red value of 64, a green value of 45 and a blue value of 128.
In CMYK color space (used in color printing), #402d80 hex color is composed of 50% cyan, 64.84% magenta, 0% yellow and 49.8% black.
#402d80 color has a hue of 253.7 degrees, a saturation of 47.98% and a lightness of 33.9%.
#402d80 hex color contains mainly BLUE.
The closest web safe color of #402d80 is #333399
#402d80 hex color has a decimal value of 4205952.
HEX | 402d80 | #402d80 |
---|---|---|
RGB | 64, 45, 128 | rgb(64, 45, 128) |
RGB Percent | 25.1, 17.65, 50.2 | rgb(25.1, 17.65, 50.2) |
CMYK | 50, 65, 0, 50 | |
HSL | 253.7°, 47.98, 33.9 | hsl(253.7, 47.98%, 33.9%) |
HSV | 253.7°, 64.8, 50.2 |
XYZ | 6.949, 4.525, 20.929 |
---|---|
Hunter Lab | 21.272, 21.085, -43.443 |
CIE-LAB | 25.336, 30.9, -44.154 |
CIE-LCH | 25.336, 53.892, 304.985 |
CIE-LUV | 50, 64.84, 0, 49.8 |
Web Safe | 333399 |
RGB percent of color #402d80
CMYK percent of color #402d80
Text with hexadecimal color #402d80
This text has a font color of #402d80
<p style="color:#402d80">Text here</p>
#402d80 Background Color
This box has a background color of #402d80
<div style="background-color:#402d80">Text here</div>
#402d80 Border Color
This box has a border color of #402d80
<div style="border: 4px solid #402d80">Text here</div>
CSS codes
<p style="color:#402d80">Text here</p>
<div style="background-color:#402d80">Text here</div>
<div style="border: 4px solid #402d80">Text here</div>
#402d80 Color on white background
This is how a font and box color of #402d80 will look
on a white background.
#402d80 Color on black background
This is how a font and box color of #402d80 hex color will look
on a black background.