In RGB color space, #402f6f hex color has a red value of 64, a green value of 47 and a blue value of 111.
In CMYK color space (used in color printing), #402f6f hex color is composed of 42.34% cyan, 57.66% magenta, 0% yellow and 56.47% black.
#402f6f color has a hue of 255.9 degrees, a saturation of 40.51% and a lightness of 31%.
#402f6f hex color contains mainly BLUE.
The closest web safe color of #402f6f is #333366
#402f6f hex color has a decimal value of 4206447.
HEX | 402f6f | #402f6f |
---|---|---|
RGB | 64, 47, 111 | rgb(64, 47, 111) |
RGB Percent | 25.1, 18.43, 43.53 | rgb(25.1, 18.43, 43.53) |
CMYK | 42, 58, 0, 56 | |
HSL | 255.9°, 40.51, 31 | hsl(255.9, 40.51%, 31%) |
HSV | 255.9°, 57.7, 43.5 |
XYZ | 6, 4.271, 15.547 |
---|---|
Hunter Lab | 20.666, 15.657, -30.136 |
CIE-LAB | 24.548, 24.311, -34.624 |
CIE-LCH | 24.548, 42.307, 305.074 |
CIE-LUV | 42.34, 57.66, 0, 56.47 |
Web Safe | 333366 |
RGB percent of color #402f6f
CMYK percent of color #402f6f
Text with hexadecimal color #402f6f
This text has a font color of #402f6f
<p style="color:#402f6f">Text here</p>
#402f6f Background Color
This box has a background color of #402f6f
<div style="background-color:#402f6f">Text here</div>
#402f6f Border Color
This box has a border color of #402f6f
<div style="border: 4px solid #402f6f">Text here</div>
CSS codes
<p style="color:#402f6f">Text here</p>
<div style="background-color:#402f6f">Text here</div>
<div style="border: 4px solid #402f6f">Text here</div>
#402f6f Color on white background
This is how a font and box color of #402f6f will look
on a white background.
#402f6f Color on black background
This is how a font and box color of #402f6f hex color will look
on a black background.