In RGB color space, #402a58 hex color has a red value of 64, a green value of 42 and a blue value of 88.
In CMYK color space (used in color printing), #402a58 hex color is composed of 27.27% cyan, 52.27% magenta, 0% yellow and 65.49% black.
#402a58 color has a hue of 268.7 degrees, a saturation of 35.38% and a lightness of 25.5%.
#402a58 hex color contains mainly BLUE.
The closest web safe color of #402a58 is #333366
#402a58 hex color has a decimal value of 4205144.
HEX | 402a58 | #402a58 |
---|---|---|
RGB | 64, 42, 88 | rgb(64, 42, 88) |
RGB Percent | 25.1, 16.47, 34.51 | rgb(25.1, 16.47, 34.51) |
CMYK | 27, 52, 0, 65 | |
HSL | 268.7°, 35.38, 25.5 | hsl(268.7, 35.38%, 25.5%) |
HSV | 268.7°, 52.3, 34.5 |
XYZ | 4.704, 3.45, 9.651 |
---|---|
Hunter Lab | 18.574, 12.701, -17.805 |
CIE-LAB | 21.763, 20.804, -24.065 |
CIE-LCH | 21.763, 31.811, 310.843 |
CIE-LUV | 27.27, 52.27, 0, 65.49 |
Web Safe | 333366 |
RGB percent of color #402a58
CMYK percent of color #402a58
Text with hexadecimal color #402a58
This text has a font color of #402a58
<p style="color:#402a58">Text here</p>
#402a58 Background Color
This box has a background color of #402a58
<div style="background-color:#402a58">Text here</div>
#402a58 Border Color
This box has a border color of #402a58
<div style="border: 4px solid #402a58">Text here</div>
CSS codes
<p style="color:#402a58">Text here</p>
<div style="background-color:#402a58">Text here</div>
<div style="border: 4px solid #402a58">Text here</div>
#402a58 Color on white background
This is how a font and box color of #402a58 will look
on a white background.
#402a58 Color on black background
This is how a font and box color of #402a58 hex color will look
on a black background.