In RGB color space, #402a78 hex color has a red value of 64, a green value of 42 and a blue value of 120.
In CMYK color space (used in color printing), #402a78 hex color is composed of 46.67% cyan, 65% magenta, 0% yellow and 52.94% black.
#402a78 color has a hue of 256.9 degrees, a saturation of 48.15% and a lightness of 31.8%.
#402a78 hex color contains mainly BLUE.
The closest web safe color of #402a78 is #333366
#402a78 hex color has a decimal value of 4205176.
HEX | 402a78 | #402a78 |
---|---|---|
RGB | 64, 42, 120 | rgb(64, 42, 120) |
RGB Percent | 25.1, 16.47, 47.06 | rgb(25.1, 16.47, 47.06) |
CMYK | 47, 65, 0, 53 | |
HSL | 256.9°, 48.15, 31.8 | hsl(256.9, 48.15%, 31.8%) |
HSV | 256.9°, 65, 47.1 |
XYZ | 6.332, 4.102, 18.227 |
---|---|
Hunter Lab | 20.253, 20.363, -39.181 |
CIE-LAB | 24.006, 30.254, -41.25 |
CIE-LCH | 24.006, 51.155, 306.257 |
CIE-LUV | 46.67, 65, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #402a78
CMYK percent of color #402a78
Text with hexadecimal color #402a78
This text has a font color of #402a78
<p style="color:#402a78">Text here</p>
#402a78 Background Color
This box has a background color of #402a78
<div style="background-color:#402a78">Text here</div>
#402a78 Border Color
This box has a border color of #402a78
<div style="border: 4px solid #402a78">Text here</div>
CSS codes
<p style="color:#402a78">Text here</p>
<div style="background-color:#402a78">Text here</div>
<div style="border: 4px solid #402a78">Text here</div>
#402a78 Color on white background
This is how a font and box color of #402a78 will look
on a white background.
#402a78 Color on black background
This is how a font and box color of #402a78 hex color will look
on a black background.