Skip to main content

#512F98

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
#512F98
RGB
rgb(81, 47, 152)
RGBA
rgba(81, 47, 152, 1)
HSL
hsl(259.43, 52.76%, 39.02%)
HSLA
hsla(259, 53%, 39%, 1)
CMYK
cmyk(47%, 69%, 0%, 40%)

Color Palettes

Harmonious color combinations based on #512F98

Monochromatic

Shades and tints of the same hue

#150C27
#3E2475
#673CC3
#A48ADB
#E1D8F3

Analogous

Adjacent colors on the color wheel

#2F7798
#2F4298
#512F98
#852F98
#982F77

Complementary

Opposite color for maximum contrast

#512F98
#77982F

Triadic

Three evenly spaced colors

#512F98
#98502F
#2F9850

CSS Usage Examples

Background

background-color: #512F98;

Text

color: #512F98;

Border

border: 2px solid #512F98;

Shadow

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