In RGB color space, #402b7f hex color has a red value of 64, a green value of 43 and a blue value of 127.
In CMYK color space (used in color printing), #402b7f hex color is composed of 49.61% cyan, 66.14% magenta, 0% yellow and 50.2% black.
#402b7f color has a hue of 255 degrees, a saturation of 49.41% and a lightness of 33.3%.
#402b7f hex color contains mainly BLUE.
The closest web safe color of #402b7f is #333366
#402b7f hex color has a decimal value of 4205439.
HEX | 402b7f | #402b7f |
---|---|---|
RGB | 64, 43, 127 | rgb(64, 43, 127) |
RGB Percent | 25.1, 16.86, 49.8 | rgb(25.1, 16.86, 49.8) |
CMYK | 50, 66, 0, 50 | |
HSL | 255°, 49.41, 33.3 | hsl(255, 49.41%, 33.3%) |
HSV | 255°, 66.1, 49.8 |
XYZ | 6.809, 4.35, 20.559 |
---|---|
Hunter Lab | 20.857, 21.775, -43.844 |
CIE-LAB | 24.796, 31.813, -44.4 |
CIE-LCH | 24.796, 54.621, 305.622 |
CIE-LUV | 49.61, 66.14, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #402b7f
CMYK percent of color #402b7f
Text with hexadecimal color #402b7f
This text has a font color of #402b7f
<p style="color:#402b7f">Text here</p>
#402b7f Background Color
This box has a background color of #402b7f
<div style="background-color:#402b7f">Text here</div>
#402b7f Border Color
This box has a border color of #402b7f
<div style="border: 4px solid #402b7f">Text here</div>
CSS codes
<p style="color:#402b7f">Text here</p>
<div style="background-color:#402b7f">Text here</div>
<div style="border: 4px solid #402b7f">Text here</div>
#402b7f Color on white background
This is how a font and box color of #402b7f will look
on a white background.
#402b7f Color on black background
This is how a font and box color of #402b7f hex color will look
on a black background.