Skip to main content

#402142

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
#402142
RGB
rgb(64, 33, 66)
RGBA
rgba(64, 33, 66, 1)
HSL
hsl(296.36, 33.33%, 19.41%)
HSLA
hsla(296, 33%, 19%, 1)
CMYK
cmyk(3%, 50%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #402142

Monochromatic

Shades and tints of the same hue

#211122
#623366
#A455AA
#C899CC
#EDDDEE

Analogous

Adjacent colors on the color wheel

#202340
#2E2040
#402142
#402033
#402023

Complementary

Opposite color for maximum contrast

#402142
#234020

Triadic

Three evenly spaced colors

#402142
#403E20
#20403E

CSS Usage Examples

Background

background-color: #402142;

Text

color: #402142;

Border

border: 2px solid #402142;

Shadow

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