In RGB color space, #402772 hex color has a red value of 64, a green value of 39 and a blue value of 114.
In CMYK color space (used in color printing), #402772 hex color is composed of 43.86% cyan, 65.79% magenta, 0% yellow and 55.29% black.
#402772 color has a hue of 260 degrees, a saturation of 49.02% and a lightness of 30%.
#402772 hex color contains mainly BLUE.
The closest web safe color of #402772 is #333366
#402772 hex color has a decimal value of 4204402.
HEX | 402772 | #402772 |
---|---|---|
RGB | 64, 39, 114 | rgb(64, 39, 114) |
RGB Percent | 25.1, 15.29, 44.71 | rgb(25.1, 15.29, 44.71) |
CMYK | 44, 66, 0, 55 | |
HSL | 260°, 49.02, 30 | hsl(260, 49.02%, 30%) |
HSV | 260°, 65.8, 44.7 |
XYZ | 5.877, 3.756, 16.335 |
---|---|
Hunter Lab | 19.38, 20.213, -36.407 |
CIE-LAB | 22.848, 30.269, -39.292 |
CIE-LCH | 22.848, 49.599, 307.609 |
CIE-LUV | 43.86, 65.79, 0, 55.29 |
Web Safe | 333366 |
RGB percent of color #402772
CMYK percent of color #402772
Text with hexadecimal color #402772
This text has a font color of #402772
<p style="color:#402772">Text here</p>
#402772 Background Color
This box has a background color of #402772
<div style="background-color:#402772">Text here</div>
#402772 Border Color
This box has a border color of #402772
<div style="border: 4px solid #402772">Text here</div>
CSS codes
<p style="color:#402772">Text here</p>
<div style="background-color:#402772">Text here</div>
<div style="border: 4px solid #402772">Text here</div>
#402772 Color on white background
This is how a font and box color of #402772 will look
on a white background.
#402772 Color on black background
This is how a font and box color of #402772 hex color will look
on a black background.