In RGB color space, #402a57 hex color has a red value of 64, a green value of 42 and a blue value of 87.
In CMYK color space (used in color printing), #402a57 hex color is composed of 26.44% cyan, 51.72% magenta, 0% yellow and 65.88% black.
#402a57 color has a hue of 269.3 degrees, a saturation of 34.88% and a lightness of 25.3%.
#402a57 hex color contains mainly BLUE.
The closest web safe color of #402a57 is #333366
#402a57 hex color has a decimal value of 4205143.
HEX | 402a57 | #402a57 |
---|---|---|
RGB | 64, 42, 87 | rgb(64, 42, 87) |
RGB Percent | 25.1, 16.47, 34.12 | rgb(25.1, 16.47, 34.12) |
CMYK | 26, 52, 0, 66 | |
HSL | 269.3°, 34.88, 25.3 | hsl(269.3, 34.88%, 25.3%) |
HSV | 269.3°, 51.7, 34.1 |
XYZ | 4.663, 3.434, 9.434 |
---|---|
Hunter Lab | 18.531, 12.487, -17.212 |
CIE-LAB | 21.704, 20.521, -23.492 |
CIE-LCH | 21.704, 31.193, 311.138 |
CIE-LUV | 26.44, 51.72, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #402a57
CMYK percent of color #402a57
Text with hexadecimal color #402a57
This text has a font color of #402a57
<p style="color:#402a57">Text here</p>
#402a57 Background Color
This box has a background color of #402a57
<div style="background-color:#402a57">Text here</div>
#402a57 Border Color
This box has a border color of #402a57
<div style="border: 4px solid #402a57">Text here</div>
CSS codes
<p style="color:#402a57">Text here</p>
<div style="background-color:#402a57">Text here</div>
<div style="border: 4px solid #402a57">Text here</div>
#402a57 Color on white background
This is how a font and box color of #402a57 will look
on a white background.
#402a57 Color on black background
This is how a font and box color of #402a57 hex color will look
on a black background.