In RGB color space, #402a5d hex color has a red value of 64, a green value of 42 and a blue value of 93.
In CMYK color space (used in color printing), #402a5d hex color is composed of 31.18% cyan, 54.84% magenta, 0% yellow and 63.53% black.
#402a5d color has a hue of 265.9 degrees, a saturation of 37.78% and a lightness of 26.5%.
#402a5d hex color contains mainly BLUE.
The closest web safe color of #402a5d is #333366
#402a5d hex color has a decimal value of 4205149.
HEX | 402a5d | #402a5d |
---|---|---|
RGB | 64, 42, 93 | rgb(64, 42, 93) |
RGB Percent | 25.1, 16.47, 36.47 | rgb(25.1, 16.47, 36.47) |
CMYK | 31, 55, 0, 64 | |
HSL | 265.9°, 37.78, 26.5 | hsl(265.9, 37.78%, 26.5%) |
HSV | 265.9°, 54.8, 36.5 |
XYZ | 4.918, 3.536, 10.779 |
---|---|
Hunter Lab | 18.804, 13.777, -20.823 |
CIE-LAB | 22.074, 22.205, -26.875 |
CIE-LCH | 22.074, 34.862, 309.565 |
CIE-LUV | 31.18, 54.84, 0, 63.53 |
Web Safe | 333366 |
RGB percent of color #402a5d
CMYK percent of color #402a5d
Text with hexadecimal color #402a5d
This text has a font color of #402a5d
<p style="color:#402a5d">Text here</p>
#402a5d Background Color
This box has a background color of #402a5d
<div style="background-color:#402a5d">Text here</div>
#402a5d Border Color
This box has a border color of #402a5d
<div style="border: 4px solid #402a5d">Text here</div>
CSS codes
<p style="color:#402a5d">Text here</p>
<div style="background-color:#402a5d">Text here</div>
<div style="border: 4px solid #402a5d">Text here</div>
#402a5d Color on white background
This is how a font and box color of #402a5d will look
on a white background.
#402a5d Color on black background
This is how a font and box color of #402a5d hex color will look
on a black background.