In RGB color space, #402f6e hex color has a red value of 64, a green value of 47 and a blue value of 110.
In CMYK color space (used in color printing), #402f6e hex color is composed of 41.82% cyan, 57.27% magenta, 0% yellow and 56.86% black.
#402f6e color has a hue of 256.2 degrees, a saturation of 40.13% and a lightness of 30.8%.
#402f6e hex color contains mainly BLUE.
The closest web safe color of #402f6e is #333366
#402f6e hex color has a decimal value of 4206446.
HEX | 402f6e | #402f6e |
---|---|---|
RGB | 64, 47, 110 | rgb(64, 47, 110) |
RGB Percent | 25.1, 18.43, 43.14 | rgb(25.1, 18.43, 43.14) |
CMYK | 42, 57, 0, 57 | |
HSL | 256.2°, 40.13, 30.8 | hsl(256.2, 40.13%, 30.8%) |
HSV | 256.2°, 57.3, 43.1 |
XYZ | 5.945, 4.249, 15.259 |
---|---|
Hunter Lab | 20.613, 15.408, -29.461 |
CIE-LAB | 24.478, 24.001, -34.095 |
CIE-LCH | 24.478, 41.696, 305.143 |
CIE-LUV | 41.82, 57.27, 0, 56.86 |
Web Safe | 333366 |
RGB percent of color #402f6e
CMYK percent of color #402f6e
Text with hexadecimal color #402f6e
This text has a font color of #402f6e
<p style="color:#402f6e">Text here</p>
#402f6e Background Color
This box has a background color of #402f6e
<div style="background-color:#402f6e">Text here</div>
#402f6e Border Color
This box has a border color of #402f6e
<div style="border: 4px solid #402f6e">Text here</div>
CSS codes
<p style="color:#402f6e">Text here</p>
<div style="background-color:#402f6e">Text here</div>
<div style="border: 4px solid #402f6e">Text here</div>
#402f6e Color on white background
This is how a font and box color of #402f6e will look
on a white background.
#402f6e Color on black background
This is how a font and box color of #402f6e hex color will look
on a black background.