In RGB color space, #402080 hex color has a red value of 64, a green value of 32 and a blue value of 128.
In CMYK color space (used in color printing), #402080 hex color is composed of 50% cyan, 75% magenta, 0% yellow and 49.8% black.
#402080 color has a hue of 260 degrees, a saturation of 60% and a lightness of 31.4%.
#402080 hex color contains mainly BLUE.
The closest web safe color of #402080 is #333399
#402080 hex color has a decimal value of 4202624.
HEX | 402080 | #402080 |
---|---|---|
RGB | 64, 32, 128 | rgb(64, 32, 128) |
RGB Percent | 25.1, 12.55, 50.2 | rgb(25.1, 12.55, 50.2) |
CMYK | 50, 75, 0, 50 | |
HSL | 260°, 60, 31.4 | hsl(260, 60%, 31.4%) |
HSV | 260°, 75, 50.2 |
XYZ | 6.527, 3.682, 20.789 |
---|---|
Hunter Lab | 19.189, 27.137, -50.803 |
CIE-LAB | 22.591, 38.412, -48.629 |
CIE-LCH | 22.591, 61.97, 308.305 |
CIE-LUV | 50, 75, 0, 49.8 |
Web Safe | 333399 |
RGB percent of color #402080
CMYK percent of color #402080
Text with hexadecimal color #402080
This text has a font color of #402080
<p style="color:#402080">Text here</p>
#402080 Background Color
This box has a background color of #402080
<div style="background-color:#402080">Text here</div>
#402080 Border Color
This box has a border color of #402080
<div style="border: 4px solid #402080">Text here</div>
CSS codes
<p style="color:#402080">Text here</p>
<div style="background-color:#402080">Text here</div>
<div style="border: 4px solid #402080">Text here</div>
#402080 Color on white background
This is how a font and box color of #402080 will look
on a white background.
#402080 Color on black background
This is how a font and box color of #402080 hex color will look
on a black background.