In RGB color space, #402c78 hex color has a red value of 64, a green value of 44 and a blue value of 120.
In CMYK color space (used in color printing), #402c78 hex color is composed of 46.67% cyan, 63.33% magenta, 0% yellow and 52.94% black.
#402c78 color has a hue of 255.8 degrees, a saturation of 46.34% and a lightness of 32.2%.
#402c78 hex color contains mainly BLUE.
The closest web safe color of #402c78 is #333366
#402c78 hex color has a decimal value of 4205688.
HEX | 402c78 | #402c78 |
---|---|---|
RGB | 64, 44, 120 | rgb(64, 44, 120) |
RGB Percent | 25.1, 17.25, 47.06 | rgb(25.1, 17.25, 47.06) |
CMYK | 47, 63, 0, 53 | |
HSL | 255.8°, 46.34, 32.2 | hsl(255.8, 46.34%, 32.2%) |
HSV | 255.8°, 63.3, 47.1 |
XYZ | 6.405, 4.247, 18.252 |
---|---|
Hunter Lab | 20.608, 19.413, -38.085 |
CIE-LAB | 24.472, 29.021, -40.497 |
CIE-LCH | 24.472, 49.822, 305.626 |
CIE-LUV | 46.67, 63.33, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #402c78
CMYK percent of color #402c78
Text with hexadecimal color #402c78
This text has a font color of #402c78
<p style="color:#402c78">Text here</p>
#402c78 Background Color
This box has a background color of #402c78
<div style="background-color:#402c78">Text here</div>
#402c78 Border Color
This box has a border color of #402c78
<div style="border: 4px solid #402c78">Text here</div>
CSS codes
<p style="color:#402c78">Text here</p>
<div style="background-color:#402c78">Text here</div>
<div style="border: 4px solid #402c78">Text here</div>
#402c78 Color on white background
This is how a font and box color of #402c78 will look
on a white background.
#402c78 Color on black background
This is how a font and box color of #402c78 hex color will look
on a black background.