In RGB color space, #402b5b hex color has a red value of 64, a green value of 43 and a blue value of 91.
In CMYK color space (used in color printing), #402b5b hex color is composed of 29.67% cyan, 52.75% magenta, 0% yellow and 64.31% black.
#402b5b color has a hue of 266.3 degrees, a saturation of 35.82% and a lightness of 26.3%.
#402b5b hex color contains mainly BLUE.
The closest web safe color of #402b5b is #333366
#402b5b hex color has a decimal value of 4205403.
HEX | 402b5b | #402b5b |
---|---|---|
RGB | 64, 43, 91 | rgb(64, 43, 91) |
RGB Percent | 25.1, 16.86, 35.69 | rgb(25.1, 16.86, 35.69) |
CMYK | 30, 53, 0, 64 | |
HSL | 266.3°, 35.82, 26.3 | hsl(266.3, 35.82%, 26.3%) |
HSV | 266.3°, 52.7, 35.7 |
XYZ | 4.867, 3.573, 10.331 |
---|---|
Hunter Lab | 18.902, 12.881, -19.173 |
CIE-LAB | 22.206, 20.989, -25.347 |
CIE-LCH | 22.206, 32.909, 309.627 |
CIE-LUV | 29.67, 52.75, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #402b5b
CMYK percent of color #402b5b
Text with hexadecimal color #402b5b
This text has a font color of #402b5b
<p style="color:#402b5b">Text here</p>
#402b5b Background Color
This box has a background color of #402b5b
<div style="background-color:#402b5b">Text here</div>
#402b5b Border Color
This box has a border color of #402b5b
<div style="border: 4px solid #402b5b">Text here</div>
CSS codes
<p style="color:#402b5b">Text here</p>
<div style="background-color:#402b5b">Text here</div>
<div style="border: 4px solid #402b5b">Text here</div>
#402b5b Color on white background
This is how a font and box color of #402b5b will look
on a white background.
#402b5b Color on black background
This is how a font and box color of #402b5b hex color will look
on a black background.