In RGB color space, #402a6f hex color has a red value of 64, a green value of 42 and a blue value of 111.
In CMYK color space (used in color printing), #402a6f hex color is composed of 42.34% cyan, 62.16% magenta, 0% yellow and 56.47% black.
#402a6f color has a hue of 259.1 degrees, a saturation of 45.1% and a lightness of 30%.
#402a6f hex color contains mainly BLUE.
The closest web safe color of #402a6f is #333366
#402a6f hex color has a decimal value of 4205167.
HEX | 402a6f | #402a6f |
---|---|---|
RGB | 64, 42, 111 | rgb(64, 42, 111) |
RGB Percent | 25.1, 16.47, 43.53 | rgb(25.1, 16.47, 43.53) |
CMYK | 42, 62, 0, 56 | |
HSL | 259.1°, 45.1, 30 | hsl(259.1, 45.1%, 30%) |
HSV | 259.1°, 62.2, 43.5 |
XYZ | 5.812, 3.894, 15.484 |
---|---|
Hunter Lab | 19.733, 18.04, -32.71 |
CIE-LAB | 23.318, 27.511, -36.603 |
CIE-LCH | 23.318, 45.789, 306.929 |
CIE-LUV | 42.34, 62.16, 0, 56.47 |
Web Safe | 333366 |
RGB percent of color #402a6f
CMYK percent of color #402a6f
Text with hexadecimal color #402a6f
This text has a font color of #402a6f
<p style="color:#402a6f">Text here</p>
#402a6f Background Color
This box has a background color of #402a6f
<div style="background-color:#402a6f">Text here</div>
#402a6f Border Color
This box has a border color of #402a6f
<div style="border: 4px solid #402a6f">Text here</div>
CSS codes
<p style="color:#402a6f">Text here</p>
<div style="background-color:#402a6f">Text here</div>
<div style="border: 4px solid #402a6f">Text here</div>
#402a6f Color on white background
This is how a font and box color of #402a6f will look
on a white background.
#402a6f Color on black background
This is how a font and box color of #402a6f hex color will look
on a black background.