In RGB color space, #402784 hex color has a red value of 64, a green value of 39 and a blue value of 132.
In CMYK color space (used in color printing), #402784 hex color is composed of 51.52% cyan, 70.45% magenta, 0% yellow and 48.24% black.
#402784 color has a hue of 256.1 degrees, a saturation of 54.39% and a lightness of 33.5%.
#402784 hex color contains mainly BLUE.
The closest web safe color of #402784 is #333399
#402784 hex color has a decimal value of 4204420.
HEX | 402784 | #402784 |
---|---|---|
RGB | 64, 39, 132 | rgb(64, 39, 132) |
RGB Percent | 25.1, 15.29, 51.76 | rgb(25.1, 15.29, 51.76) |
CMYK | 52, 70, 0, 48 | |
HSL | 256.1°, 54.39, 33.5 | hsl(256.1, 54.39%, 33.5%) |
HSV | 256.1°, 70.5, 51.8 |
XYZ | 7.005, 4.207, 22.273 |
---|---|
Hunter Lab | 20.511, 25.068, -50.026 |
CIE-LAB | 24.344, 35.735, -48.284 |
CIE-LCH | 24.344, 60.069, 306.505 |
CIE-LUV | 51.52, 70.45, 0, 48.24 |
Web Safe | 333399 |
RGB percent of color #402784
CMYK percent of color #402784
Text with hexadecimal color #402784
This text has a font color of #402784
<p style="color:#402784">Text here</p>
#402784 Background Color
This box has a background color of #402784
<div style="background-color:#402784">Text here</div>
#402784 Border Color
This box has a border color of #402784
<div style="border: 4px solid #402784">Text here</div>
CSS codes
<p style="color:#402784">Text here</p>
<div style="background-color:#402784">Text here</div>
<div style="border: 4px solid #402784">Text here</div>
#402784 Color on white background
This is how a font and box color of #402784 will look
on a white background.
#402784 Color on black background
This is how a font and box color of #402784 hex color will look
on a black background.