In RGB color space, #402f6b hex color has a red value of 64, a green value of 47 and a blue value of 107.
In CMYK color space (used in color printing), #402f6b hex color is composed of 40.19% cyan, 56.07% magenta, 0% yellow and 58.04% black.
#402f6b color has a hue of 257 degrees, a saturation of 38.96% and a lightness of 30.2%.
#402f6b hex color contains mainly BLUE.
The closest web safe color of #402f6b is #333366
#402f6b hex color has a decimal value of 4206443.
HEX | 402f6b | #402f6b |
---|---|---|
RGB | 64, 47, 107 | rgb(64, 47, 107) |
RGB Percent | 25.1, 18.43, 41.96 | rgb(25.1, 18.43, 41.96) |
CMYK | 40, 56, 0, 58 | |
HSL | 257°, 38.96, 30.2 | hsl(257, 38.96%, 30.2%) |
HSV | 257°, 56.1, 42 |
XYZ | 5.785, 4.185, 14.413 |
---|---|
Hunter Lab | 20.457, 14.677, -27.452 |
CIE-LAB | 24.274, 23.085, -32.491 |
CIE-LCH | 24.274, 39.857, 305.394 |
CIE-LUV | 40.19, 56.07, 0, 58.04 |
Web Safe | 333366 |
RGB percent of color #402f6b
CMYK percent of color #402f6b
Text with hexadecimal color #402f6b
This text has a font color of #402f6b
<p style="color:#402f6b">Text here</p>
#402f6b Background Color
This box has a background color of #402f6b
<div style="background-color:#402f6b">Text here</div>
#402f6b Border Color
This box has a border color of #402f6b
<div style="border: 4px solid #402f6b">Text here</div>
CSS codes
<p style="color:#402f6b">Text here</p>
<div style="background-color:#402f6b">Text here</div>
<div style="border: 4px solid #402f6b">Text here</div>
#402f6b Color on white background
This is how a font and box color of #402f6b will look
on a white background.
#402f6b Color on black background
This is how a font and box color of #402f6b hex color will look
on a black background.