In RGB color space, #402d7c hex color has a red value of 64, a green value of 45 and a blue value of 124.
In CMYK color space (used in color printing), #402d7c hex color is composed of 48.39% cyan, 63.71% magenta, 0% yellow and 51.37% black.
#402d7c color has a hue of 254.4 degrees, a saturation of 46.75% and a lightness of 33.1%.
#402d7c hex color contains mainly BLUE.
The closest web safe color of #402d7c is #333366
#402d7c hex color has a decimal value of 4205948.
HEX | 402d7c | #402d7c |
---|---|---|
RGB | 64, 45, 124 | rgb(64, 45, 124) |
RGB Percent | 25.1, 17.65, 48.63 | rgb(25.1, 17.65, 48.63) |
CMYK | 48, 64, 0, 51 | |
HSL | 254.4°, 46.75, 33.1 | hsl(254.4, 46.75%, 33.1%) |
HSV | 254.4°, 63.7, 48.6 |
XYZ | 6.691, 4.422, 19.57 |
---|---|
Hunter Lab | 21.029, 19.996, -40.458 |
CIE-LAB | 25.02, 29.642, -42.144 |
CIE-LCH | 25.02, 51.524, 305.121 |
CIE-LUV | 48.39, 63.71, 0, 51.37 |
Web Safe | 333366 |
RGB percent of color #402d7c
CMYK percent of color #402d7c
Text with hexadecimal color #402d7c
This text has a font color of #402d7c
<p style="color:#402d7c">Text here</p>
#402d7c Background Color
This box has a background color of #402d7c
<div style="background-color:#402d7c">Text here</div>
#402d7c Border Color
This box has a border color of #402d7c
<div style="border: 4px solid #402d7c">Text here</div>
CSS codes
<p style="color:#402d7c">Text here</p>
<div style="background-color:#402d7c">Text here</div>
<div style="border: 4px solid #402d7c">Text here</div>
#402d7c Color on white background
This is how a font and box color of #402d7c will look
on a white background.
#402d7c Color on black background
This is how a font and box color of #402d7c hex color will look
on a black background.