In RGB color space, #402f5d hex color has a red value of 64, a green value of 47 and a blue value of 93.
In CMYK color space (used in color printing), #402f5d hex color is composed of 31.18% cyan, 49.46% magenta, 0% yellow and 63.53% black.
#402f5d color has a hue of 262.2 degrees, a saturation of 32.86% and a lightness of 27.5%.
#402f5d hex color contains mainly BLUE.
The closest web safe color of #402f5d is #333366
#402f5d hex color has a decimal value of 4206429.
HEX | 402f5d | #402f5d |
---|---|---|
RGB | 64, 47, 93 | rgb(64, 47, 93) |
RGB Percent | 25.1, 18.43, 36.47 | rgb(25.1, 18.43, 36.47) |
CMYK | 31, 49, 0, 64 | |
HSL | 262.2°, 32.86, 27.5 | hsl(262.2, 32.86%, 27.5%) |
HSV | 262.2°, 49.5, 36.5 |
XYZ | 5.107, 3.913, 10.842 |
---|---|
Hunter Lab | 19.781, 11.467, -18.65 |
CIE-LAB | 23.382, 18.925, -24.801 |
CIE-LCH | 23.382, 31.197, 307.346 |
CIE-LUV | 31.18, 49.46, 0, 63.53 |
Web Safe | 333366 |
RGB percent of color #402f5d
CMYK percent of color #402f5d
Text with hexadecimal color #402f5d
This text has a font color of #402f5d
<p style="color:#402f5d">Text here</p>
#402f5d Background Color
This box has a background color of #402f5d
<div style="background-color:#402f5d">Text here</div>
#402f5d Border Color
This box has a border color of #402f5d
<div style="border: 4px solid #402f5d">Text here</div>
CSS codes
<p style="color:#402f5d">Text here</p>
<div style="background-color:#402f5d">Text here</div>
<div style="border: 4px solid #402f5d">Text here</div>
#402f5d Color on white background
This is how a font and box color of #402f5d will look
on a white background.
#402f5d Color on black background
This is how a font and box color of #402f5d hex color will look
on a black background.