In RGB color space, #402d7d hex color has a red value of 64, a green value of 45 and a blue value of 125.
In CMYK color space (used in color printing), #402d7d hex color is composed of 48.8% cyan, 64% magenta, 0% yellow and 50.98% black.
#402d7d color has a hue of 254.3 degrees, a saturation of 47.06% and a lightness of 33.3%.
#402d7d hex color contains mainly BLUE.
The closest web safe color of #402d7d is #333366
#402d7d hex color has a decimal value of 4205949.
HEX | 402d7d | #402d7d |
---|---|---|
RGB | 64, 45, 125 | rgb(64, 45, 125) |
RGB Percent | 25.1, 17.65, 49.02 | rgb(25.1, 17.65, 49.02) |
CMYK | 49, 64, 0, 51 | |
HSL | 254.3°, 47.06, 33.3 | hsl(254.3, 47.06%, 33.3%) |
HSV | 254.3°, 64, 49 |
XYZ | 6.754, 4.447, 19.904 |
---|---|
Hunter Lab | 21.088, 20.266, -41.2 |
CIE-LAB | 25.097, 29.955, -42.65 |
CIE-LCH | 25.097, 52.118, 305.082 |
CIE-LUV | 48.8, 64, 0, 50.98 |
Web Safe | 333366 |
RGB percent of color #402d7d
CMYK percent of color #402d7d
Text with hexadecimal color #402d7d
This text has a font color of #402d7d
<p style="color:#402d7d">Text here</p>
#402d7d Background Color
This box has a background color of #402d7d
<div style="background-color:#402d7d">Text here</div>
#402d7d Border Color
This box has a border color of #402d7d
<div style="border: 4px solid #402d7d">Text here</div>
CSS codes
<p style="color:#402d7d">Text here</p>
<div style="background-color:#402d7d">Text here</div>
<div style="border: 4px solid #402d7d">Text here</div>
#402d7d Color on white background
This is how a font and box color of #402d7d will look
on a white background.
#402d7d Color on black background
This is how a font and box color of #402d7d hex color will look
on a black background.