In RGB color space, #402b7c hex color has a red value of 64, a green value of 43 and a blue value of 124.
In CMYK color space (used in color printing), #402b7c hex color is composed of 48.39% cyan, 65.32% magenta, 0% yellow and 51.37% black.
#402b7c color has a hue of 255.6 degrees, a saturation of 48.5% and a lightness of 32.7%.
#402b7c hex color contains mainly BLUE.
The closest web safe color of #402b7c is #333366
#402b7c hex color has a decimal value of 4205436.
HEX | 402b7c | #402b7c |
---|---|---|
RGB | 64, 43, 124 | rgb(64, 43, 124) |
RGB Percent | 25.1, 16.86, 48.63 | rgb(25.1, 16.86, 48.63) |
CMYK | 48, 65, 0, 51 | |
HSL | 255.6°, 48.5, 32.7 | hsl(255.6, 48.5%, 32.7%) |
HSV | 255.6°, 65.3, 48.6 |
XYZ | 6.616, 4.273, 19.545 |
---|---|
Hunter Lab | 20.671, 20.956, -41.59 |
CIE-LAB | 24.554, 30.876, -42.9 |
CIE-LCH | 24.554, 52.856, 305.743 |
CIE-LUV | 48.39, 65.32, 0, 51.37 |
Web Safe | 333366 |
RGB percent of color #402b7c
CMYK percent of color #402b7c
Text with hexadecimal color #402b7c
This text has a font color of #402b7c
<p style="color:#402b7c">Text here</p>
#402b7c Background Color
This box has a background color of #402b7c
<div style="background-color:#402b7c">Text here</div>
#402b7c Border Color
This box has a border color of #402b7c
<div style="border: 4px solid #402b7c">Text here</div>
CSS codes
<p style="color:#402b7c">Text here</p>
<div style="background-color:#402b7c">Text here</div>
<div style="border: 4px solid #402b7c">Text here</div>
#402b7c Color on white background
This is how a font and box color of #402b7c will look
on a white background.
#402b7c Color on black background
This is how a font and box color of #402b7c hex color will look
on a black background.