In RGB color space, #402a7a hex color has a red value of 64, a green value of 42 and a blue value of 122.
In CMYK color space (used in color printing), #402a7a hex color is composed of 47.54% cyan, 65.57% magenta, 0% yellow and 52.16% black.
#402a7a color has a hue of 256.5 degrees, a saturation of 48.78% and a lightness of 32.2%.
#402a7a hex color contains mainly BLUE.
The closest web safe color of #402a7a is #333366
#402a7a hex color has a decimal value of 4205178.
HEX | 402a7a | #402a7a |
---|---|---|
RGB | 64, 42, 122 | rgb(64, 42, 122) |
RGB Percent | 25.1, 16.47, 47.84 | rgb(25.1, 16.47, 47.84) |
CMYK | 48, 66, 0, 52 | |
HSL | 256.5°, 48.78, 32.2 | hsl(256.5, 48.78%, 32.2%) |
HSV | 256.5°, 65.6, 47.8 |
XYZ | 6.455, 4.151, 18.873 |
---|---|
Hunter Lab | 20.374, 20.899, -40.66 |
CIE-LAB | 24.164, 30.874, -42.263 |
CIE-LCH | 24.164, 52.339, 306.149 |
CIE-LUV | 47.54, 65.57, 0, 52.16 |
Web Safe | 333366 |
RGB percent of color #402a7a
CMYK percent of color #402a7a
Text with hexadecimal color #402a7a
This text has a font color of #402a7a
<p style="color:#402a7a">Text here</p>
#402a7a Background Color
This box has a background color of #402a7a
<div style="background-color:#402a7a">Text here</div>
#402a7a Border Color
This box has a border color of #402a7a
<div style="border: 4px solid #402a7a">Text here</div>
CSS codes
<p style="color:#402a7a">Text here</p>
<div style="background-color:#402a7a">Text here</div>
<div style="border: 4px solid #402a7a">Text here</div>
#402a7a Color on white background
This is how a font and box color of #402a7a will look
on a white background.
#402a7a Color on black background
This is how a font and box color of #402a7a hex color will look
on a black background.