In RGB color space, #402762 hex color has a red value of 64, a green value of 39 and a blue value of 98.
In CMYK color space (used in color printing), #402762 hex color is composed of 34.69% cyan, 60.2% magenta, 0% yellow and 61.57% black.
#402762 color has a hue of 265.4 degrees, a saturation of 43.07% and a lightness of 26.9%.
#402762 hex color contains mainly BLUE.
The closest web safe color of #402762 is #333366
#402762 hex color has a decimal value of 4204386.
HEX | 402762 | #402762 |
---|---|---|
RGB | 64, 39, 98 | rgb(64, 39, 98) |
RGB Percent | 25.1, 15.29, 38.43 | rgb(25.1, 15.29, 38.43) |
CMYK | 35, 60, 0, 62 | |
HSL | 265.4°, 43.07, 26.9 | hsl(265.4, 43.07%, 26.9%) |
HSV | 265.4°, 60.2, 38.4 |
XYZ | 5.044, 3.423, 11.95 |
---|---|
Hunter Lab | 18.501, 16.287, -25.344 |
CIE-LAB | 21.664, 25.55, -30.818 |
CIE-LCH | 21.664, 40.032, 309.661 |
CIE-LUV | 34.69, 60.2, 0, 61.57 |
Web Safe | 333366 |
RGB percent of color #402762
CMYK percent of color #402762
Text with hexadecimal color #402762
This text has a font color of #402762
<p style="color:#402762">Text here</p>
#402762 Background Color
This box has a background color of #402762
<div style="background-color:#402762">Text here</div>
#402762 Border Color
This box has a border color of #402762
<div style="border: 4px solid #402762">Text here</div>
CSS codes
<p style="color:#402762">Text here</p>
<div style="background-color:#402762">Text here</div>
<div style="border: 4px solid #402762">Text here</div>
#402762 Color on white background
This is how a font and box color of #402762 will look
on a white background.
#402762 Color on black background
This is how a font and box color of #402762 hex color will look
on a black background.