In RGB color space, #402c7b hex color has a red value of 64, a green value of 44 and a blue value of 123.
In CMYK color space (used in color printing), #402c7b hex color is composed of 47.97% cyan, 64.23% magenta, 0% yellow and 51.76% black.
#402c7b color has a hue of 255.2 degrees, a saturation of 47.31% and a lightness of 32.7%.
#402c7b hex color contains mainly BLUE.
The closest web safe color of #402c7b is #333366
#402c7b hex color has a decimal value of 4205691.
HEX | 402c7b | #402c7b |
---|---|---|
RGB | 64, 44, 123 | rgb(64, 44, 123) |
RGB Percent | 25.1, 17.25, 48.24 | rgb(25.1, 17.25, 48.24) |
CMYK | 48, 64, 0, 52 | |
HSL | 255.2°, 47.31, 32.7 | hsl(255.2, 47.31%, 32.7%) |
HSV | 255.2°, 64.2, 48.2 |
XYZ | 6.59, 4.321, 19.226 |
---|---|
Hunter Lab | 20.787, 20.212, -40.287 |
CIE-LAB | 24.705, 29.954, -42.022 |
CIE-LCH | 24.705, 51.605, 305.482 |
CIE-LUV | 47.97, 64.23, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #402c7b
CMYK percent of color #402c7b
Text with hexadecimal color #402c7b
This text has a font color of #402c7b
<p style="color:#402c7b">Text here</p>
#402c7b Background Color
This box has a background color of #402c7b
<div style="background-color:#402c7b">Text here</div>
#402c7b Border Color
This box has a border color of #402c7b
<div style="border: 4px solid #402c7b">Text here</div>
CSS codes
<p style="color:#402c7b">Text here</p>
<div style="background-color:#402c7b">Text here</div>
<div style="border: 4px solid #402c7b">Text here</div>
#402c7b Color on white background
This is how a font and box color of #402c7b will look
on a white background.
#402c7b Color on black background
This is how a font and box color of #402c7b hex color will look
on a black background.