In RGB color space, #402c7d hex color has a red value of 64, a green value of 44 and a blue value of 125.
In CMYK color space (used in color printing), #402c7d hex color is composed of 48.8% cyan, 64.8% magenta, 0% yellow and 50.98% black.
#402c7d color has a hue of 254.8 degrees, a saturation of 47.93% and a lightness of 33.1%.
#402c7d hex color contains mainly BLUE.
The closest web safe color of #402c7d is #333366
#402c7d hex color has a decimal value of 4205693.
HEX | 402c7d | #402c7d |
---|---|---|
RGB | 64, 44, 125 | rgb(64, 44, 125) |
RGB Percent | 25.1, 17.25, 49.02 | rgb(25.1, 17.25, 49.02) |
CMYK | 49, 65, 0, 51 | |
HSL | 254.8°, 47.93, 33.1 | hsl(254.8, 47.93%, 33.1%) |
HSV | 254.8°, 64.8, 49 |
XYZ | 6.717, 4.372, 19.892 |
---|---|
Hunter Lab | 20.909, 20.751, -41.769 |
CIE-LAB | 24.865, 30.578, -43.028 |
CIE-LCH | 24.865, 52.787, 305.4 |
CIE-LUV | 48.8, 64.8, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #402c7d
CMYK percent of color #402c7d
Text with hexadecimal color #402c7d
This text has a font color of #402c7d
<p style="color:#402c7d">Text here</p>
#402c7d Background Color
This box has a background color of #402c7d
<div style="background-color:#402c7d">Text here</div>
#402c7d Border Color
This box has a border color of #402c7d
<div style="border: 4px solid #402c7d">Text here</div>
CSS codes
<p style="color:#402c7d">Text here</p>
<div style="background-color:#402c7d">Text here</div>
<div style="border: 4px solid #402c7d">Text here</div>
#402c7d Color on white background
This is how a font and box color of #402c7d will look
on a white background.
#402c7d Color on black background
This is how a font and box color of #402c7d hex color will look
on a black background.