In RGB color space, #402054 hex color has a red value of 64, a green value of 32 and a blue value of 84.
In CMYK color space (used in color printing), #402054 hex color is composed of 23.81% cyan, 61.9% magenta, 0% yellow and 67.06% black.
#402054 color has a hue of 276.9 degrees, a saturation of 44.83% and a lightness of 22.7%.
#402054 hex color contains mainly BLUE.
The closest web safe color of #402054 is #333366
#402054 hex color has a decimal value of 4202580.
HEX | 402054 | #402054 |
---|---|---|
RGB | 64, 32, 84 | rgb(64, 32, 84) |
RGB Percent | 25.1, 12.55, 32.94 | rgb(25.1, 12.55, 32.94) |
CMYK | 24, 62, 0, 67 | |
HSL | 276.9°, 44.83, 22.7 | hsl(276.9, 44.83%, 22.7%) |
HSV | 276.9°, 61.9, 32.9 |
XYZ | 4.231, 2.763, 8.698 |
---|---|
Hunter Lab | 16.622, 16.346, -19.389 |
CIE-LAB | 19.069, 26.045, -25.673 |
CIE-LCH | 19.069, 36.571, 315.412 |
CIE-LUV | 23.81, 61.9, 0, 67.06 |
Web Safe | 333366 |
RGB percent of color #402054
CMYK percent of color #402054
Text with hexadecimal color #402054
This text has a font color of #402054
<p style="color:#402054">Text here</p>
#402054 Background Color
This box has a background color of #402054
<div style="background-color:#402054">Text here</div>
#402054 Border Color
This box has a border color of #402054
<div style="border: 4px solid #402054">Text here</div>
CSS codes
<p style="color:#402054">Text here</p>
<div style="background-color:#402054">Text here</div>
<div style="border: 4px solid #402054">Text here</div>
#402054 Color on white background
This is how a font and box color of #402054 will look
on a white background.
#402054 Color on black background
This is how a font and box color of #402054 hex color will look
on a black background.