Skip to main content

#512D8A

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
#512D8A
RGB
rgb(81, 45, 138)
RGBA
rgba(81, 45, 138, 1)
HSL
hsl(263.23, 50.82%, 35.88%)
HSLA
hsla(263, 51%, 36%, 1)
CMYK
cmyk(41%, 67%, 0%, 46%)

Color Palettes

Harmonious color combinations based on #512D8A

Monochromatic

Shades and tints of the same hue

#160C27
#432574
#703EC1
#A98BDA
#E2D8F3

Analogous

Adjacent colors on the color wheel

#2D678B
#2D388B
#512D8A
#802D8B
#8B2D67

Complementary

Opposite color for maximum contrast

#512D8A
#678B2D

Triadic

Three evenly spaced colors

#512D8A
#8B512D
#2D8B51

CSS Usage Examples

Background

background-color: #512D8A;

Text

color: #512D8A;

Border

border: 2px solid #512D8A;

Shadow

box-shadow: 0 4px 6px #512D8A40;
Feedback