In RGB color space, #402b5d hex color has a red value of 64, a green value of 43 and a blue value of 93.
In CMYK color space (used in color printing), #402b5d hex color is composed of 31.18% cyan, 53.76% magenta, 0% yellow and 63.53% black.
#402b5d color has a hue of 265.2 degrees, a saturation of 36.76% and a lightness of 26.7%.
#402b5d hex color contains mainly BLUE.
The closest web safe color of #402b5d is #333366
#402b5d hex color has a decimal value of 4205405.
HEX | 402b5d | #402b5d |
---|---|---|
RGB | 64, 43, 93 | rgb(64, 43, 93) |
RGB Percent | 25.1, 16.86, 36.47 | rgb(25.1, 16.86, 36.47) |
CMYK | 31, 54, 0, 64 | |
HSL | 265.2°, 36.76, 26.7 | hsl(265.2, 36.76%, 26.7%) |
HSV | 265.2°, 53.8, 36.5 |
XYZ | 4.954, 3.608, 10.791 |
---|---|
Hunter Lab | 18.995, 13.314, -20.387 |
CIE-LAB | 22.331, 21.552, -26.467 |
CIE-LCH | 22.331, 34.132, 309.156 |
CIE-LUV | 31.18, 53.76, 0, 63.53 |
Web Safe | 333366 |
RGB percent of color #402b5d
CMYK percent of color #402b5d
Text with hexadecimal color #402b5d
This text has a font color of #402b5d
<p style="color:#402b5d">Text here</p>
#402b5d Background Color
This box has a background color of #402b5d
<div style="background-color:#402b5d">Text here</div>
#402b5d Border Color
This box has a border color of #402b5d
<div style="border: 4px solid #402b5d">Text here</div>
CSS codes
<p style="color:#402b5d">Text here</p>
<div style="background-color:#402b5d">Text here</div>
<div style="border: 4px solid #402b5d">Text here</div>
#402b5d Color on white background
This is how a font and box color of #402b5d will look
on a white background.
#402b5d Color on black background
This is how a font and box color of #402b5d hex color will look
on a black background.