Skip to main content

#402C8B

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
#402C8B
RGB
rgb(64, 44, 139)
RGBA
rgba(64, 44, 139, 1)
HSL
hsl(252.63, 51.91%, 35.88%)
HSLA
hsla(253, 52%, 36%, 1)
CMYK
cmyk(54%, 68%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #402C8B

Monochromatic

Shades and tints of the same hue

#120C27
#362574
#5A3DC2
#9C8BDA
#DED8F3

Analogous

Adjacent colors on the color wheel

#2C778C
#2C478C
#402C8B
#702C8C
#8C2C77

Complementary

Opposite color for maximum contrast

#402C8B
#778C2C

Triadic

Three evenly spaced colors

#402C8B
#8C412C
#2C8C41

CSS Usage Examples

Background

background-color: #402C8B;

Text

color: #402C8B;

Border

border: 2px solid #402C8B;

Shadow

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