In RGB color space, #402c6b hex color has a red value of 64, a green value of 44 and a blue value of 107.
In CMYK color space (used in color printing), #402c6b hex color is composed of 40.19% cyan, 58.88% magenta, 0% yellow and 58.04% black.
#402c6b color has a hue of 259 degrees, a saturation of 41.72% and a lightness of 29.6%.
#402c6b hex color contains mainly BLUE.
The closest web safe color of #402c6b is #333366
#402c6b hex color has a decimal value of 4205675.
HEX | 402c6b | #402c6b |
---|---|---|
RGB | 64, 44, 107 | rgb(64, 44, 107) |
RGB Percent | 25.1, 17.25, 41.96 | rgb(25.1, 17.25, 41.96) |
CMYK | 40, 59, 0, 58 | |
HSL | 259°, 41.72, 29.6 | hsl(259, 41.72%, 29.6%) |
HSV | 259°, 58.9, 42 |
XYZ | 5.669, 3.953, 14.374 |
---|---|
Hunter Lab | 19.882, 16.102, -28.947 |
CIE-LAB | 23.515, 25.03, -33.706 |
CIE-LCH | 23.515, 41.983, 306.597 |
CIE-LUV | 40.19, 58.88, 0, 58.04 |
Web Safe | 333366 |
RGB percent of color #402c6b
CMYK percent of color #402c6b
Text with hexadecimal color #402c6b
This text has a font color of #402c6b
<p style="color:#402c6b">Text here</p>
#402c6b Background Color
This box has a background color of #402c6b
<div style="background-color:#402c6b">Text here</div>
#402c6b Border Color
This box has a border color of #402c6b
<div style="border: 4px solid #402c6b">Text here</div>
CSS codes
<p style="color:#402c6b">Text here</p>
<div style="background-color:#402c6b">Text here</div>
<div style="border: 4px solid #402c6b">Text here</div>
#402c6b Color on white background
This is how a font and box color of #402c6b will look
on a white background.
#402c6b Color on black background
This is how a font and box color of #402c6b hex color will look
on a black background.