Skip to main content

#512C8B

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
#512C8B
RGB
rgb(81, 44, 139)
RGBA
rgba(81, 44, 139, 1)
HSL
hsl(263.37, 51.91%, 35.88%)
HSLA
hsla(263, 52%, 36%, 1)
CMYK
cmyk(42%, 68%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #512C8B

Monochromatic

Shades and tints of the same hue

#160C27
#432574
#703DC2
#A98BDA
#E2D8F3

Analogous

Adjacent colors on the color wheel

#2C678C
#2C378C
#512C8B
#802C8C
#8C2C67

Complementary

Opposite color for maximum contrast

#512C8B
#678C2C

Triadic

Three evenly spaced colors

#512C8B
#8C512C
#2C8C51

CSS Usage Examples

Background

background-color: #512C8B;

Text

color: #512C8B;

Border

border: 2px solid #512C8B;

Shadow

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