In RGB color space, #402b7a hex color has a red value of 64, a green value of 43 and a blue value of 122.
In CMYK color space (used in color printing), #402b7a hex color is composed of 47.54% cyan, 64.75% magenta, 0% yellow and 52.16% black.
#402b7a color has a hue of 255.9 degrees, a saturation of 47.88% and a lightness of 32.4%.
#402b7a hex color contains mainly BLUE.
The closest web safe color of #402b7a is #333366
#402b7a hex color has a decimal value of 4205434.
HEX | 402b7a | #402b7a |
---|---|---|
RGB | 64, 43, 122 | rgb(64, 43, 122) |
RGB Percent | 25.1, 16.86, 47.84 | rgb(25.1, 16.86, 47.84) |
CMYK | 48, 65, 0, 52 | |
HSL | 255.9°, 47.88, 32.4 | hsl(255.9, 47.88%, 32.4%) |
HSV | 255.9°, 64.8, 47.8 |
XYZ | 6.491, 4.223, 18.885 |
---|---|
Hunter Lab | 20.55, 20.419, -40.101 |
CIE-LAB | 24.395, 30.257, -41.889 |
CIE-LCH | 24.395, 51.674, 305.841 |
CIE-LUV | 47.54, 64.75, 0, 52.16 |
Web Safe | 333366 |
RGB percent of color #402b7a
CMYK percent of color #402b7a
Text with hexadecimal color #402b7a
This text has a font color of #402b7a
<p style="color:#402b7a">Text here</p>
#402b7a Background Color
This box has a background color of #402b7a
<div style="background-color:#402b7a">Text here</div>
#402b7a Border Color
This box has a border color of #402b7a
<div style="border: 4px solid #402b7a">Text here</div>
CSS codes
<p style="color:#402b7a">Text here</p>
<div style="background-color:#402b7a">Text here</div>
<div style="border: 4px solid #402b7a">Text here</div>
#402b7a Color on white background
This is how a font and box color of #402b7a will look
on a white background.
#402b7a Color on black background
This is how a font and box color of #402b7a hex color will look
on a black background.