In RGB color space, #402552 hex color has a red value of 64, a green value of 37 and a blue value of 82.
In CMYK color space (used in color printing), #402552 hex color is composed of 21.95% cyan, 54.88% magenta, 0% yellow and 67.84% black.
#402552 color has a hue of 276 degrees, a saturation of 37.82% and a lightness of 23.3%.
#402552 hex color contains mainly BLUE.
The closest web safe color of #402552 is #333366
#402552 hex color has a decimal value of 4203858.
HEX | 402552 | #402552 |
---|---|---|
RGB | 64, 37, 82 | rgb(64, 37, 82) |
RGB Percent | 25.1, 14.51, 32.16 | rgb(25.1, 14.51, 32.16) |
CMYK | 22, 55, 0, 68 | |
HSL | 276°, 37.82, 23.3 | hsl(276, 37.82%, 23.3%) |
HSV | 276°, 54.9, 32.2 |
XYZ | 4.299, 3.022, 8.339 |
---|---|
Hunter Lab | 17.384, 13.721, -16.272 |
CIE-LAB | 20.132, 22.407, -22.638 |
CIE-LCH | 20.132, 31.852, 314.706 |
CIE-LUV | 21.95, 54.88, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402552
CMYK percent of color #402552
Text with hexadecimal color #402552
This text has a font color of #402552
<p style="color:#402552">Text here</p>
#402552 Background Color
This box has a background color of #402552
<div style="background-color:#402552">Text here</div>
#402552 Border Color
This box has a border color of #402552
<div style="border: 4px solid #402552">Text here</div>
CSS codes
<p style="color:#402552">Text here</p>
<div style="background-color:#402552">Text here</div>
<div style="border: 4px solid #402552">Text here</div>
#402552 Color on white background
This is how a font and box color of #402552 will look
on a white background.
#402552 Color on black background
This is how a font and box color of #402552 hex color will look
on a black background.