Skip to main content

#402178

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
#402178
RGB
rgb(64, 33, 120)
RGBA
rgba(64, 33, 120, 1)
HSL
hsl(261.38, 56.86%, 30%)
HSLA
hsla(261, 57%, 30%, 1)
CMYK
cmyk(47%, 73%, 0%, 53%)

Color Palettes

Harmonious color combinations based on #402178

Monochromatic

Shades and tints of the same hue

#150B28
#3F2178
#6A37C8
#A587DE
#E1D7F4

Analogous

Adjacent colors on the color wheel

#215A78
#212E78
#402178
#6B2178
#78215A

Complementary

Opposite color for maximum contrast

#402178
#5A7821

Triadic

Three evenly spaced colors

#402178
#783F21
#21783F

CSS Usage Examples

Background

background-color: #402178;

Text

color: #402178;

Border

border: 2px solid #402178;

Shadow

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