In RGB color space, #402b6b hex color has a red value of 64, a green value of 43 and a blue value of 107.
In CMYK color space (used in color printing), #402b6b hex color is composed of 40.19% cyan, 59.81% magenta, 0% yellow and 58.04% black.
#402b6b color has a hue of 259.7 degrees, a saturation of 42.67% and a lightness of 29.4%.
#402b6b hex color contains mainly BLUE.
The closest web safe color of #402b6b is #333366
#402b6b hex color has a decimal value of 4205419.
HEX | 402b6b | #402b6b |
---|---|---|
RGB | 64, 43, 107 | rgb(64, 43, 107) |
RGB Percent | 25.1, 16.86, 41.96 | rgb(25.1, 16.86, 41.96) |
CMYK | 40, 60, 0, 58 | |
HSL | 259.7°, 42.67, 29.4 | hsl(259.7, 42.67%, 29.4%) |
HSV | 259.7°, 59.8, 42 |
XYZ | 5.632, 3.879, 14.362 |
---|---|
Hunter Lab | 19.695, 16.577, -29.448 |
CIE-LAB | 23.267, 25.674, -34.106 |
CIE-LCH | 23.267, 42.689, 306.971 |
CIE-LUV | 40.19, 59.81, 0, 58.04 |
Web Safe | 333366 |
RGB percent of color #402b6b
CMYK percent of color #402b6b
Text with hexadecimal color #402b6b
This text has a font color of #402b6b
<p style="color:#402b6b">Text here</p>
#402b6b Background Color
This box has a background color of #402b6b
<div style="background-color:#402b6b">Text here</div>
#402b6b Border Color
This box has a border color of #402b6b
<div style="border: 4px solid #402b6b">Text here</div>
CSS codes
<p style="color:#402b6b">Text here</p>
<div style="background-color:#402b6b">Text here</div>
<div style="border: 4px solid #402b6b">Text here</div>
#402b6b Color on white background
This is how a font and box color of #402b6b will look
on a white background.
#402b6b Color on black background
This is how a font and box color of #402b6b hex color will look
on a black background.