In RGB color space, #402c5a hex color has a red value of 64, a green value of 44 and a blue value of 90.
In CMYK color space (used in color printing), #402c5a hex color is composed of 28.89% cyan, 51.11% magenta, 0% yellow and 64.71% black.
#402c5a color has a hue of 266.1 degrees, a saturation of 34.33% and a lightness of 26.3%.
#402c5a hex color contains mainly BLUE.
The closest web safe color of #402c5a is #333366
#402c5a hex color has a decimal value of 4205658.
HEX | 402c5a | #402c5a |
---|---|---|
RGB | 64, 44, 90 | rgb(64, 44, 90) |
RGB Percent | 25.1, 17.25, 35.29 | rgb(25.1, 17.25, 35.29) |
CMYK | 29, 51, 0, 65 | |
HSL | 266.1°, 34.33, 26.3 | hsl(266.1, 34.33%, 26.3%) |
HSV | 266.1°, 51.1, 35.3 |
XYZ | 4.86, 3.63, 10.117 |
---|---|
Hunter Lab | 19.053, 12.19, -18.146 |
CIE-LAB | 22.408, 20.028, -24.364 |
CIE-LCH | 22.408, 31.539, 309.421 |
CIE-LUV | 28.89, 51.11, 0, 64.71 |
Web Safe | 333366 |
RGB percent of color #402c5a
CMYK percent of color #402c5a
Text with hexadecimal color #402c5a
This text has a font color of #402c5a
<p style="color:#402c5a">Text here</p>
#402c5a Background Color
This box has a background color of #402c5a
<div style="background-color:#402c5a">Text here</div>
#402c5a Border Color
This box has a border color of #402c5a
<div style="border: 4px solid #402c5a">Text here</div>
CSS codes
<p style="color:#402c5a">Text here</p>
<div style="background-color:#402c5a">Text here</div>
<div style="border: 4px solid #402c5a">Text here</div>
#402c5a Color on white background
This is how a font and box color of #402c5a will look
on a white background.
#402c5a Color on black background
This is how a font and box color of #402c5a hex color will look
on a black background.