Skip to main content

#402B8C

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
#402B8C
RGB
rgb(64, 43, 140)
RGBA
rgba(64, 43, 140, 1)
HSL
hsl(252.99, 53.01%, 35.88%)
HSLA
hsla(253, 53%, 36%, 1)
CMYK
cmyk(54%, 69%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #402B8C

Monochromatic

Shades and tints of the same hue

#120C27
#362475
#593CC3
#9C8ADB
#DED8F3

Analogous

Adjacent colors on the color wheel

#2B778C
#2B478C
#402B8C
#712B8C
#8C2B77

Complementary

Opposite color for maximum contrast

#402B8C
#778C2B

Triadic

Three evenly spaced colors

#402B8C
#8C402B
#2B8C40

CSS Usage Examples

Background

background-color: #402B8C;

Text

color: #402B8C;

Border

border: 2px solid #402B8C;

Shadow

box-shadow: 0 4px 6px #402B8C40;
Feedback