Skip to main content

#512CA1

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
#512CA1
RGB
rgb(81, 44, 161)
RGBA
rgba(81, 44, 161, 1)
HSL
hsl(258.97, 57.07%, 40.2%)
HSLA
hsla(259, 57%, 40%, 1)
CMYK
cmyk(50%, 73%, 0%, 37%)

Color Palettes

Harmonious color combinations based on #512CA1

Monochromatic

Shades and tints of the same hue

#140B28
#3D2178
#6537C8
#A387DE
#E0D7F4

Analogous

Adjacent colors on the color wheel

#2C7BA0
#2C41A0
#512CA1
#8B2CA0
#A02C7B

Complementary

Opposite color for maximum contrast

#512CA1
#7BA02C

Triadic

Three evenly spaced colors

#512CA1
#A0512C
#2CA051

CSS Usage Examples

Background

background-color: #512CA1;

Text

color: #512CA1;

Border

border: 2px solid #512CA1;

Shadow

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