In RGB color space, #402c99 hex color has a red value of 64, a green value of 44 and a blue value of 153.
In CMYK color space (used in color printing), #402c99 hex color is composed of 58.17% cyan, 71.24% magenta, 0% yellow and 40% black.
#402c99 color has a hue of 251 degrees, a saturation of 55.33% and a lightness of 38.6%.
#402c99 hex color contains mainly BLUE.
The closest web safe color of #402c99 is #333399
#402c99 hex color has a decimal value of 4205721.
HEX | 402c99 | #402c99 |
---|---|---|
RGB | 64, 44, 153 | rgb(64, 44, 153) |
RGB Percent | 25.1, 17.25, 60 | rgb(25.1, 17.25, 60) |
CMYK | 58, 71, 0, 40 | |
HSL | 251°, 55.33, 38.6 | hsl(251, 55.33%, 38.6%) |
HSV | 251°, 71.2, 60 |
XYZ | 8.765, 5.191, 30.677 |
---|---|
Hunter Lab | 22.784, 28.798, -63.882 |
CIE-LAB | 27.272, 39.378, -56.506 |
CIE-LCH | 27.272, 68.873, 304.872 |
CIE-LUV | 58.17, 71.24, 0, 40 |
Web Safe | 333399 |
RGB percent of color #402c99
CMYK percent of color #402c99
Text with hexadecimal color #402c99
This text has a font color of #402c99
<p style="color:#402c99">Text here</p>
#402c99 Background Color
This box has a background color of #402c99
<div style="background-color:#402c99">Text here</div>
#402c99 Border Color
This box has a border color of #402c99
<div style="border: 4px solid #402c99">Text here</div>
CSS codes
<p style="color:#402c99">Text here</p>
<div style="background-color:#402c99">Text here</div>
<div style="border: 4px solid #402c99">Text here</div>
#402c99 Color on white background
This is how a font and box color of #402c99 will look
on a white background.
#402c99 Color on black background
This is how a font and box color of #402c99 hex color will look
on a black background.