In RGB color space, #400080 hex color has a red value of 64, a green value of 0 and a blue value of 128.
In CMYK color space (used in color printing), #400080 hex color is composed of 50% cyan, 100% magenta, 0% yellow and 49.8% black.
#400080 color has a hue of 270 degrees, a saturation of 100% and a lightness of 25.1%.
#400080 hex color contains mainly BLUE.
The closest web safe color of #400080 is #330099
#400080 hex color has a decimal value of 4194432.
HEX | 400080 | #400080 |
---|---|---|
RGB | 64, 0, 128 | rgb(64, 0, 128) |
RGB Percent | 25.1, 0, 50.2 | rgb(25.1, 0, 50.2) |
CMYK | 50, 100, 0, 50 | |
HSL | 270°, 100, 25.1 | hsl(270, 100%, 25.1%) |
HSV | 270°, 100, 50.2 |
XYZ | 6.011, 2.649, 20.616 |
---|---|
Hunter Lab | 16.276, 37.442, -63.708 |
CIE-LAB | 18.579, 50.158, -55.225 |
CIE-LCH | 18.579, 74.603, 312.247 |
CIE-LUV | 50, 100, 0, 49.8 |
Web Safe | 330099 |
RGB percent of color #400080
CMYK percent of color #400080
Text with hexadecimal color #400080
This text has a font color of #400080
<p style="color:#400080">Text here</p>
#400080 Background Color
This box has a background color of #400080
<div style="background-color:#400080">Text here</div>
#400080 Border Color
This box has a border color of #400080
<div style="border: 4px solid #400080">Text here</div>
CSS codes
<p style="color:#400080">Text here</p>
<div style="background-color:#400080">Text here</div>
<div style="border: 4px solid #400080">Text here</div>
#400080 Color on white background
This is how a font and box color of #400080 will look
on a white background.
#400080 Color on black background
This is how a font and box color of #400080 hex color will look
on a black background.