In RGB color space, #402b6e hex color has a red value of 64, a green value of 43 and a blue value of 110.
In CMYK color space (used in color printing), #402b6e hex color is composed of 41.82% cyan, 60.91% magenta, 0% yellow and 56.86% black.
#402b6e color has a hue of 258.8 degrees, a saturation of 43.79% and a lightness of 30%.
#402b6e hex color contains mainly BLUE.
The closest web safe color of #402b6e is #333366
#402b6e hex color has a decimal value of 4205422.
HEX | 402b6e | #402b6e |
---|---|---|
RGB | 64, 43, 110 | rgb(64, 43, 110) |
RGB Percent | 25.1, 16.86, 43.14 | rgb(25.1, 16.86, 43.14) |
CMYK | 42, 61, 0, 57 | |
HSL | 258.8°, 43.79, 30 | hsl(258.8, 43.79%, 30%) |
HSV | 258.8°, 60.9, 43.1 |
XYZ | 5.793, 3.944, 15.208 |
---|---|
Hunter Lab | 19.86, 17.314, -31.501 |
CIE-LAB | 23.485, 26.574, -35.691 |
CIE-LCH | 23.485, 44.497, 306.67 |
CIE-LUV | 41.82, 60.91, 0, 56.86 |
Web Safe | 333366 |
RGB percent of color #402b6e
CMYK percent of color #402b6e
Text with hexadecimal color #402b6e
This text has a font color of #402b6e
<p style="color:#402b6e">Text here</p>
#402b6e Background Color
This box has a background color of #402b6e
<div style="background-color:#402b6e">Text here</div>
#402b6e Border Color
This box has a border color of #402b6e
<div style="border: 4px solid #402b6e">Text here</div>
CSS codes
<p style="color:#402b6e">Text here</p>
<div style="background-color:#402b6e">Text here</div>
<div style="border: 4px solid #402b6e">Text here</div>
#402b6e Color on white background
This is how a font and box color of #402b6e will look
on a white background.
#402b6e Color on black background
This is how a font and box color of #402b6e hex color will look
on a black background.