Maroon Colors  ·  Color Library

Palettes / Colors / #511AA3

#511AA3 — Purple

#511AA3 is a purple color we call Purple, closest to the named color Indigo (#4B0082). It belongs to the purple family.

Color name

Closest CSS keyword: indigo (#4B0082) — not an exact match. CSS indigo gives you #4B0082, a different color; use #511AA3 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#511AA3 is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #6CA21A; it also sits naturally between #1A28A2 and #951AA2. In the palettes below you can see it working alongside real color combinations from our collection.

#511AA3 · RGB 81, 26, 163

Download PNG swatch SVG

Color values

HEX#511AA3
RGB81, 26, 163
HSL264°, 72%, 37%
HSV264°, 84%, 64%
CMYK50%, 84%, 0%, 36%
XYZ10.37, 5.13, 35.09
Yxy5.13, 0.2050, 0.1014
CIE-Lab27.11, 53.13, -62.80
Hunter Lab22.65, 43.99, -80.19

RGB & CMYK percentages

Red 32% · Green 10% · Blue 64%

Cyan 50% · Magenta 84% · Yellow 0% · Key 36%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #511AA3 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #511AA3 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #511AA3

.text { color: #511AA3; }
.background { background-color: #511AA3; }
.border { border: 3px solid #511AA3; }
.text-rgb { color: rgb(81, 26, 163); }
.text-hsl { color: hsl(264, 72%, 37%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #511AA3; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(81, 26, 163, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #511AA3; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(81, 26, 163, 0.8); }

HTML: <p style="color:#511AA3">Text here</p> · <div style="background-color:#511AA3">Div content here</div>

Shades of #511AA3

#4A1895#411584#3B1376#341169#2E0F5C#250C4B#1F0A3D#180830#0F051F#090312

Tints of #511AA3

#5E1FBD#6B23D7#7C3ADF#8D54E3#9F6EE7#AD84EB#BF9FEF#D0B9F4#E2D3F8#F3EDFC

Tones of #511AA3

#532499#552E8E#573885#59417C#5A4B72#5C5568

Color harmonies

Complementary — #6CA21A:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.36:1 AAA
Against black text2.03:1 Fails

Best text color on #511AA3: #FFFFFF.

Semi-transparent (opacity) text on #511AA3

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #511AA3: ·

How #511AA3 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #393982Deuteranopia · #3C417ATritanopia · #4E6862

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Deep Purple 500 · #673AB7Material Indigo 500 · #3F51B5Material Purple 500 · #9C27B0

Palettes with a similar color

These palettes use a close neighbour of #511AA3 rather than the exact color:

Radiant Ruby Whisper
#DCCEF3 · #A078DE · #501D9F · #231042
Frozen Ruby Twilight
#4F16AC · #D630E5 · #ED6EB4 · #F29A9C
Mellow Ruby Cinder
#5711A0 · #8B5FEE · #9DEB4A · #BFEE9E
Silent Drift
#11AE94 · #1984C0 · #0B1B9F · #4B109E
Lavender Haze
#5A189A · #9D4EDD · #C77DFF · #E0AAFF
Royal Plum
#240046 · #5A189A · #FF8500 · #FFD6A5

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#501D9F#4F16AC#5711A0#4B109E#5A189A#4F0F9C#4A249D#5E189D#5228A7#4421A3#54279B#5820B0

Browse neighbouring colors

← #511AA2  ·  #511AA4 →

Frequently asked questions

What color is #511AA3?

#511AA3 is Purple, a purple color (RGB 81, 26, 163). Its closest standard named color is Indigo.

What is the RGB and HSL of #511AA3?

#511AA3 is RGB 81, 26, 163 — HSL 264°, 72%, 37% — CMYK 50%, 84%, 0%, 36%.

What colors go with #511AA3?

Its complement is #6CA21A; analogous partners are #1A28A2 and #951AA2. It also appears in 6+ palettes in our collection.

Can I use #511AA3 for text?

White text on #511AA3 has a contrast ratio of 10.36:1 (passes WCAG AA); black text gives 2.03:1.