Skip to main content

#400080

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#400080
RGB
rgb(64, 0, 128)
RGBA
rgba(64, 0, 128, 1)
HSL
hsl(270, 100%, 25.1%)
HSLA
hsla(270, 100%, 25%, 1)
CMYK
cmyk(50%, 100%, 0%, 50%)

Color Palettes

Harmonious color combinations based on #400080

Monochromatic

Shades and tints of the same hue

#1A0033
#4D0099
#8000FF
#B366FF
#E6CCFF

Analogous

Adjacent colors on the color wheel

#004080
#000080
#400080
#800080
#800040

Complementary

Opposite color for maximum contrast

#400080
#408000

Triadic

Three evenly spaced colors

#400080
#804000
#008040

CSS Usage Examples

Background

background-color: #400080;

Text

color: #400080;

Border

border: 2px solid #400080;

Shadow

box-shadow: 0 4px 6px #40008040;
Feedback