Skip to main content

#512E8B

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
#512E8B
RGB
rgb(81, 46, 139)
RGBA
rgba(81, 46, 139, 1)
HSL
hsl(262.58, 50.27%, 36.27%)
HSLA
hsla(263, 50%, 36%, 1)
CMYK
cmyk(42%, 67%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #512E8B

Monochromatic

Shades and tints of the same hue

#170D26
#442673
#7140BF
#AA8CD9
#E3D9F2

Analogous

Adjacent colors on the color wheel

#2E678A
#2E398A
#512E8B
#7F2E8A
#8A2E67

Complementary

Opposite color for maximum contrast

#512E8B
#678A2E

Triadic

Three evenly spaced colors

#512E8B
#8A512E
#2E8A51

CSS Usage Examples

Background

background-color: #512E8B;

Text

color: #512E8B;

Border

border: 2px solid #512E8B;

Shadow

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