In RGB color space, #402d5d hex color has a red value of 64, a green value of 45 and a blue value of 93.
In CMYK color space (used in color printing), #402d5d hex color is composed of 31.18% cyan, 51.61% magenta, 0% yellow and 63.53% black.
#402d5d color has a hue of 263.8 degrees, a saturation of 34.78% and a lightness of 27.1%.
#402d5d hex color contains mainly BLUE.
The closest web safe color of #402d5d is #333366
#402d5d hex color has a decimal value of 4205917.
HEX | 402d5d | #402d5d |
---|---|---|
RGB | 64, 45, 93 | rgb(64, 45, 93) |
RGB Percent | 25.1, 17.65, 36.47 | rgb(25.1, 17.65, 36.47) |
CMYK | 31, 52, 0, 64 | |
HSL | 263.8°, 34.78, 27.1 | hsl(263.8, 34.78%, 27.1%) |
HSV | 263.8°, 51.6, 36.5 |
XYZ | 5.029, 3.757, 10.816 |
---|---|
Hunter Lab | 19.383, 12.392, -19.517 |
CIE-LAB | 22.851, 20.246, -25.641 |
CIE-LCH | 22.851, 32.67, 308.294 |
CIE-LUV | 31.18, 51.61, 0, 63.53 |
Web Safe | 333366 |
RGB percent of color #402d5d
CMYK percent of color #402d5d
Text with hexadecimal color #402d5d
This text has a font color of #402d5d
<p style="color:#402d5d">Text here</p>
#402d5d Background Color
This box has a background color of #402d5d
<div style="background-color:#402d5d">Text here</div>
#402d5d Border Color
This box has a border color of #402d5d
<div style="border: 4px solid #402d5d">Text here</div>
CSS codes
<p style="color:#402d5d">Text here</p>
<div style="background-color:#402d5d">Text here</div>
<div style="border: 4px solid #402d5d">Text here</div>
#402d5d Color on white background
This is how a font and box color of #402d5d will look
on a white background.
#402d5d Color on black background
This is how a font and box color of #402d5d hex color will look
on a black background.