In RGB color space, #402162 hex color has a red value of 64, a green value of 33 and a blue value of 98.
In CMYK color space (used in color printing), #402162 hex color is composed of 34.69% cyan, 66.33% magenta, 0% yellow and 61.57% black.
#402162 color has a hue of 268.6 degrees, a saturation of 49.62% and a lightness of 25.7%.
#402162 hex color contains mainly BLUE.
The closest web safe color of #402162 is #333366
#402162 hex color has a decimal value of 4202850.
HEX | 402162 | #402162 |
---|---|---|
RGB | 64, 33, 98 | rgb(64, 33, 98) |
RGB Percent | 25.1, 12.94, 38.43 | rgb(25.1, 12.94, 38.43) |
CMYK | 35, 66, 0, 62 | |
HSL | 268.6°, 49.62, 25.7 | hsl(268.6, 49.62%, 25.7%) |
HSV | 268.6°, 66.3, 38.4 |
XYZ | 4.863, 3.06, 11.89 |
---|---|
Hunter Lab | 17.493, 19.01, -28.055 |
CIE-LAB | 20.283, 29.23, -33.039 |
CIE-LCH | 20.283, 44.113, 311.5 |
CIE-LUV | 34.69, 66.33, 0, 61.57 |
Web Safe | 333366 |
RGB percent of color #402162
CMYK percent of color #402162
Text with hexadecimal color #402162
This text has a font color of #402162
<p style="color:#402162">Text here</p>
#402162 Background Color
This box has a background color of #402162
<div style="background-color:#402162">Text here</div>
#402162 Border Color
This box has a border color of #402162
<div style="border: 4px solid #402162">Text here</div>
CSS codes
<p style="color:#402162">Text here</p>
<div style="background-color:#402162">Text here</div>
<div style="border: 4px solid #402162">Text here</div>
#402162 Color on white background
This is how a font and box color of #402162 will look
on a white background.
#402162 Color on black background
This is how a font and box color of #402162 hex color will look
on a black background.