In RGB color space, #402f68 hex color has a red value of 64, a green value of 47 and a blue value of 104.
In CMYK color space (used in color printing), #402f68 hex color is composed of 38.46% cyan, 54.81% magenta, 0% yellow and 59.22% black.
#402f68 color has a hue of 257.9 degrees, a saturation of 37.75% and a lightness of 29.6%.
#402f68 hex color contains mainly BLUE.
The closest web safe color of #402f68 is #333366
#402f68 hex color has a decimal value of 4206440.
HEX | 402f68 | #402f68 |
---|---|---|
RGB | 64, 47, 104 | rgb(64, 47, 104) |
RGB Percent | 25.1, 18.43, 40.78 | rgb(25.1, 18.43, 40.78) |
CMYK | 38, 55, 0, 59 | |
HSL | 257.9°, 37.75, 29.6 | hsl(257.9, 37.75%, 29.6%) |
HSV | 257.9°, 54.8, 40.8 |
XYZ | 5.63, 4.122, 13.596 |
---|---|
Hunter Lab | 20.303, 13.969, -25.493 |
CIE-LAB | 24.071, 22.188, -30.877 |
CIE-LCH | 24.071, 38.022, 305.701 |
CIE-LUV | 38.46, 54.81, 0, 59.22 |
Web Safe | 333366 |
RGB percent of color #402f68
CMYK percent of color #402f68
Text with hexadecimal color #402f68
This text has a font color of #402f68
<p style="color:#402f68">Text here</p>
#402f68 Background Color
This box has a background color of #402f68
<div style="background-color:#402f68">Text here</div>
#402f68 Border Color
This box has a border color of #402f68
<div style="border: 4px solid #402f68">Text here</div>
CSS codes
<p style="color:#402f68">Text here</p>
<div style="background-color:#402f68">Text here</div>
<div style="border: 4px solid #402f68">Text here</div>
#402f68 Color on white background
This is how a font and box color of #402f68 will look
on a white background.
#402f68 Color on black background
This is how a font and box color of #402f68 hex color will look
on a black background.