In RGB color space, #402b5a hex color has a red value of 64, a green value of 43 and a blue value of 90.
In CMYK color space (used in color printing), #402b5a hex color is composed of 28.89% cyan, 52.22% magenta, 0% yellow and 64.71% black.
#402b5a color has a hue of 266.8 degrees, a saturation of 35.34% and a lightness of 26.1%.
#402b5a hex color contains mainly BLUE.
The closest web safe color of #402b5a is #333366
#402b5a hex color has a decimal value of 4205402.
HEX | 402b5a | #402b5a |
---|---|---|
RGB | 64, 43, 90 | rgb(64, 43, 90) |
RGB Percent | 25.1, 16.86, 35.29 | rgb(25.1, 16.86, 35.29) |
CMYK | 29, 52, 0, 65 | |
HSL | 266.8°, 35.34, 26.1 | hsl(266.8, 35.34%, 26.1%) |
HSV | 266.8°, 52.2, 35.3 |
XYZ | 4.824, 3.556, 10.105 |
---|---|
Hunter Lab | 18.857, 12.663, -18.571 |
CIE-LAB | 22.146, 20.702, -24.782 |
CIE-LCH | 22.146, 32.291, 309.874 |
CIE-LUV | 28.89, 52.22, 0, 64.71 |
Web Safe | 333366 |
RGB percent of color #402b5a
CMYK percent of color #402b5a
Text with hexadecimal color #402b5a
This text has a font color of #402b5a
<p style="color:#402b5a">Text here</p>
#402b5a Background Color
This box has a background color of #402b5a
<div style="background-color:#402b5a">Text here</div>
#402b5a Border Color
This box has a border color of #402b5a
<div style="border: 4px solid #402b5a">Text here</div>
CSS codes
<p style="color:#402b5a">Text here</p>
<div style="background-color:#402b5a">Text here</div>
<div style="border: 4px solid #402b5a">Text here</div>
#402b5a Color on white background
This is how a font and box color of #402b5a will look
on a white background.
#402b5a Color on black background
This is how a font and box color of #402b5a hex color will look
on a black background.