In RGB color space, #402f52 hex color has a red value of 64, a green value of 47 and a blue value of 82.
In CMYK color space (used in color printing), #402f52 hex color is composed of 21.95% cyan, 42.68% magenta, 0% yellow and 67.84% black.
#402f52 color has a hue of 269.1 degrees, a saturation of 27.13% and a lightness of 25.3%.
#402f52 hex color contains mainly BLUE.
The closest web safe color of #402f52 is #333366
#402f52 hex color has a decimal value of 4206418.
HEX | 402f52 | #402f52 |
---|---|---|
RGB | 64, 47, 82 | rgb(64, 47, 82) |
RGB Percent | 25.1, 18.43, 32.16 | rgb(25.1, 18.43, 32.16) |
CMYK | 22, 43, 0, 68 | |
HSL | 269.1°, 27.13, 25.3 | hsl(269.1, 27.13%, 25.3%) |
HSV | 269.1°, 42.7, 32.2 |
XYZ | 4.654, 3.732, 8.458 |
---|---|
Hunter Lab | 19.318, 9.195, -12.436 |
CIE-LAB | 22.765, 15.832, -18.5 |
CIE-LCH | 22.765, 24.35, 310.556 |
CIE-LUV | 21.95, 42.68, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402f52
CMYK percent of color #402f52
Text with hexadecimal color #402f52
This text has a font color of #402f52
<p style="color:#402f52">Text here</p>
#402f52 Background Color
This box has a background color of #402f52
<div style="background-color:#402f52">Text here</div>
#402f52 Border Color
This box has a border color of #402f52
<div style="border: 4px solid #402f52">Text here</div>
CSS codes
<p style="color:#402f52">Text here</p>
<div style="background-color:#402f52">Text here</div>
<div style="border: 4px solid #402f52">Text here</div>
#402f52 Color on white background
This is how a font and box color of #402f52 will look
on a white background.
#402f52 Color on black background
This is how a font and box color of #402f52 hex color will look
on a black background.