In RGB color space, #402a66 hex color has a red value of 64, a green value of 42 and a blue value of 102.
In CMYK color space (used in color printing), #402a66 hex color is composed of 37.25% cyan, 58.82% magenta, 0% yellow and 60% black.
#402a66 color has a hue of 262 degrees, a saturation of 41.67% and a lightness of 28.2%.
#402a66 hex color contains mainly BLUE.
The closest web safe color of #402a66 is #333366
#402a66 hex color has a decimal value of 4205158.
HEX | 402a66 | #402a66 |
---|---|---|
RGB | 64, 42, 102 | rgb(64, 42, 102) |
RGB Percent | 25.1, 16.47, 40 | rgb(25.1, 16.47, 40) |
CMYK | 37, 59, 0, 60 | |
HSL | 262°, 41.67, 28.2 | hsl(262, 41.67%, 28.2%) |
HSV | 262°, 58.8, 40 |
XYZ | 5.341, 3.705, 13.004 |
---|---|
Hunter Lab | 19.248, 15.845, -26.582 |
CIE-LAB | 22.671, 24.827, -31.818 |
CIE-LCH | 22.671, 40.358, 307.964 |
CIE-LUV | 37.25, 58.82, 0, 60 |
Web Safe | 333366 |
RGB percent of color #402a66
CMYK percent of color #402a66
Text with hexadecimal color #402a66
This text has a font color of #402a66
<p style="color:#402a66">Text here</p>
#402a66 Background Color
This box has a background color of #402a66
<div style="background-color:#402a66">Text here</div>
#402a66 Border Color
This box has a border color of #402a66
<div style="border: 4px solid #402a66">Text here</div>
CSS codes
<p style="color:#402a66">Text here</p>
<div style="background-color:#402a66">Text here</div>
<div style="border: 4px solid #402a66">Text here</div>
#402a66 Color on white background
This is how a font and box color of #402a66 will look
on a white background.
#402a66 Color on black background
This is how a font and box color of #402a66 hex color will look
on a black background.