In RGB color space, #402e5c hex color has a red value of 64, a green value of 46 and a blue value of 92.
In CMYK color space (used in color printing), #402e5c hex color is composed of 30.43% cyan, 50% magenta, 0% yellow and 63.92% black.
#402e5c color has a hue of 263.5 degrees, a saturation of 33.33% and a lightness of 27.1%.
#402e5c hex color contains mainly BLUE.
The closest web safe color of #402e5c is #333366
#402e5c hex color has a decimal value of 4206172.
HEX | 402e5c | #402e5c |
---|---|---|
RGB | 64, 46, 92 | rgb(64, 46, 92) |
RGB Percent | 25.1, 18.04, 36.08 | rgb(25.1, 18.04, 36.08) |
CMYK | 30, 50, 0, 64 | |
HSL | 263.5°, 33.33, 27.1 | hsl(263.5, 33.33%, 27.1%) |
HSV | 263.5°, 50, 36.1 |
XYZ | 5.023, 3.817, 10.597 |
---|---|
Hunter Lab | 19.537, 11.702, -18.483 |
CIE-LAB | 23.057, 19.285, -24.657 |
CIE-LCH | 23.057, 31.303, 308.03 |
CIE-LUV | 30.43, 50, 0, 63.92 |
Web Safe | 333366 |
RGB percent of color #402e5c
CMYK percent of color #402e5c
Text with hexadecimal color #402e5c
This text has a font color of #402e5c
<p style="color:#402e5c">Text here</p>
#402e5c Background Color
This box has a background color of #402e5c
<div style="background-color:#402e5c">Text here</div>
#402e5c Border Color
This box has a border color of #402e5c
<div style="border: 4px solid #402e5c">Text here</div>
CSS codes
<p style="color:#402e5c">Text here</p>
<div style="background-color:#402e5c">Text here</div>
<div style="border: 4px solid #402e5c">Text here</div>
#402e5c Color on white background
This is how a font and box color of #402e5c will look
on a white background.
#402e5c Color on black background
This is how a font and box color of #402e5c hex color will look
on a black background.