In RGB color space, #402f6a hex color has a red value of 64, a green value of 47 and a blue value of 106.
In CMYK color space (used in color printing), #402f6a hex color is composed of 39.62% cyan, 55.66% magenta, 0% yellow and 58.43% black.
#402f6a color has a hue of 257.3 degrees, a saturation of 38.56% and a lightness of 30%.
#402f6a hex color contains mainly BLUE.
The closest web safe color of #402f6a is #333366
#402f6a hex color has a decimal value of 4206442.
HEX | 402f6a | #402f6a |
---|---|---|
RGB | 64, 47, 106 | rgb(64, 47, 106) |
RGB Percent | 25.1, 18.43, 41.57 | rgb(25.1, 18.43, 41.57) |
CMYK | 40, 56, 0, 58 | |
HSL | 257.3°, 38.56, 30 | hsl(257.3, 38.56%, 30%) |
HSV | 257.3°, 55.7, 41.6 |
XYZ | 5.732, 4.164, 14.137 |
---|---|
Hunter Lab | 20.406, 14.43, -26.791 |
CIE-LAB | 24.206, 22.773, -31.952 |
CIE-LCH | 24.206, 39.237, 305.478 |
CIE-LUV | 39.62, 55.66, 0, 58.43 |
Web Safe | 333366 |
RGB percent of color #402f6a
CMYK percent of color #402f6a
Text with hexadecimal color #402f6a
This text has a font color of #402f6a
<p style="color:#402f6a">Text here</p>
#402f6a Background Color
This box has a background color of #402f6a
<div style="background-color:#402f6a">Text here</div>
#402f6a Border Color
This box has a border color of #402f6a
<div style="border: 4px solid #402f6a">Text here</div>
CSS codes
<p style="color:#402f6a">Text here</p>
<div style="background-color:#402f6a">Text here</div>
<div style="border: 4px solid #402f6a">Text here</div>
#402f6a Color on white background
This is how a font and box color of #402f6a will look
on a white background.
#402f6a Color on black background
This is how a font and box color of #402f6a hex color will look
on a black background.