In RGB color space, #402c5c hex color has a red value of 64, a green value of 44 and a blue value of 92.
In CMYK color space (used in color printing), #402c5c hex color is composed of 30.43% cyan, 52.17% magenta, 0% yellow and 63.92% black.
#402c5c color has a hue of 265 degrees, a saturation of 35.29% and a lightness of 26.7%.
#402c5c hex color contains mainly BLUE.
The closest web safe color of #402c5c is #333366
#402c5c hex color has a decimal value of 4205660.
HEX | 402c5c | #402c5c |
---|---|---|
RGB | 64, 44, 92 | rgb(64, 44, 92) |
RGB Percent | 25.1, 17.25, 36.08 | rgb(25.1, 17.25, 36.08) |
CMYK | 30, 52, 0, 64 | |
HSL | 265°, 35.29, 26.7 | hsl(265, 35.29%, 26.7%) |
HSV | 265°, 52.2, 36.1 |
XYZ | 4.947, 3.664, 10.572 |
---|---|
Hunter Lab | 19.142, 12.634, -19.347 |
CIE-LAB | 22.528, 20.614, -25.496 |
CIE-LCH | 22.528, 32.787, 308.956 |
CIE-LUV | 30.43, 52.17, 0, 63.92 |
Web Safe | 333366 |
RGB percent of color #402c5c
CMYK percent of color #402c5c
Text with hexadecimal color #402c5c
This text has a font color of #402c5c
<p style="color:#402c5c">Text here</p>
#402c5c Background Color
This box has a background color of #402c5c
<div style="background-color:#402c5c">Text here</div>
#402c5c Border Color
This box has a border color of #402c5c
<div style="border: 4px solid #402c5c">Text here</div>
CSS codes
<p style="color:#402c5c">Text here</p>
<div style="background-color:#402c5c">Text here</div>
<div style="border: 4px solid #402c5c">Text here</div>
#402c5c Color on white background
This is how a font and box color of #402c5c will look
on a white background.
#402c5c Color on black background
This is how a font and box color of #402c5c hex color will look
on a black background.