In RGB color space, #402b52 hex color has a red value of 64, a green value of 43 and a blue value of 82.
In CMYK color space (used in color printing), #402b52 hex color is composed of 21.95% cyan, 47.56% magenta, 0% yellow and 67.84% black.
#402b52 color has a hue of 272.3 degrees, a saturation of 31.2% and a lightness of 24.5%.
#402b52 hex color contains mainly BLUE.
The closest web safe color of #402b52 is #333366
#402b52 hex color has a decimal value of 4205394.
HEX | 402b52 | #402b52 |
---|---|---|
RGB | 64, 43, 82 | rgb(64, 43, 82) |
RGB Percent | 25.1, 16.86, 32.16 | rgb(25.1, 16.86, 32.16) |
CMYK | 22, 48, 0, 68 | |
HSL | 272.3°, 31.2, 24.5 | hsl(272.3, 31.2%, 24.5%) |
HSV | 272.3°, 47.6, 32.2 |
XYZ | 4.501, 3.427, 8.407 |
---|---|
Hunter Lab | 18.512, 11.004, -13.967 |
CIE-LAB | 21.679, 18.487, -20.201 |
CIE-LCH | 21.679, 27.383, 312.463 |
CIE-LUV | 21.95, 47.56, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402b52
CMYK percent of color #402b52
Text with hexadecimal color #402b52
This text has a font color of #402b52
<p style="color:#402b52">Text here</p>
#402b52 Background Color
This box has a background color of #402b52
<div style="background-color:#402b52">Text here</div>
#402b52 Border Color
This box has a border color of #402b52
<div style="border: 4px solid #402b52">Text here</div>
CSS codes
<p style="color:#402b52">Text here</p>
<div style="background-color:#402b52">Text here</div>
<div style="border: 4px solid #402b52">Text here</div>
#402b52 Color on white background
This is how a font and box color of #402b52 will look
on a white background.
#402b52 Color on black background
This is how a font and box color of #402b52 hex color will look
on a black background.