Skip to main content

#400542

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
#400542
RGB
rgb(64, 5, 66)
RGBA
rgba(64, 5, 66, 1)
HSL
hsl(298.03, 85.92%, 13.92%)
HSLA
hsla(298, 86%, 14%, 1)
CMYK
cmyk(3%, 92%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #400542

Monochromatic

Shades and tints of the same hue

#2E042F
#8A0B8E
#E612ED
#F071F4
#FAD0FB

Analogous

Adjacent colors on the color wheel

#050742
#220542
#400542
#420526
#420507

Complementary

Opposite color for maximum contrast

#400542
#074205

Triadic

Three evenly spaced colors

#400542
#424005
#054240

CSS Usage Examples

Background

background-color: #400542;

Text

color: #400542;

Border

border: 2px solid #400542;

Shadow

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