Maroon Colors  ·  Color Library

Palettes / Colors / #511EDF

#511EDF — Purple

#511EDF is a purple color we call Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.

Color name

Closest CSS keyword: blueviolet (#8A2BE2) — not an exact match. CSS blueviolet gives you #8A2BE2, a different color; use #511EDF 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.

#511EDF 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 #ADE01F; it also sits naturally between #1F4CE0 and #B31FE0. In the palettes below you can see it working alongside real color combinations from our collection.

#511EDF · RGB 81, 30, 223

Download PNG swatch SVG

Color values

HEX#511EDF
RGB81, 30, 223
HSL256°, 76%, 50%
HSV256°, 87%, 87%
CMYK64%, 87%, 0%, 13%
XYZ17.18, 8.01, 70.45
Yxy8.01, 0.1796, 0.0837
CIE-Lab33.99, 67.19, -86.79
Hunter Lab28.29, 61.32, -134.34

RGB & CMYK percentages

Red 32% · Green 12% · Blue 87%

Cyan 64% · Magenta 87% · Yellow 0% · Key 13%

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

Previews

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

CSS code for #511EDF

.text { color: #511EDF; }
.background { background-color: #511EDF; }
.border { border: 3px solid #511EDF; }
.text-rgb { color: rgb(81, 30, 223); }
.text-hsl { color: hsl(256, 76%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #511EDF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(81, 30, 223, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #511EDF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(81, 30, 223, 0.8); }

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

Shades of #511EDF

#4A1CCA#4319B8#3B16A2#351490#2C1179#240D63#1E0B51#15083A#0F0628#070212

Tints of #511EDF

#6435E3#7147E6#835DE9#906FEB#A286EE#B39CF2#C1AEF4#D2C5F7#E0D7F9#F1EDFD

Tones of #511EDF

#592DD2#5F3BC4#6649B6#6C55AA#72639C#79718E

Color harmonies

Complementary — #ADE01F:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.07:1 AAA
Against black text2.60:1 Fails

Best text color on #511EDF: #FFFFFF.

Semi-transparent (opacity) text on #511EDF

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 #511EDF: ·

How #511EDF looks with color blindness

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

Protanopia · #3B3AB0Deuteranopia · #3E42A5Tritanopia · #4E8B83

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:

Tailwind indigo 600 · #4F46E5Tailwind violet 600 · #7C3AEDMaterial Deep Purple 500 · #673AB7

Palettes with a similar color

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

Electric Twilight
#4D23DE · #420F55 · #C532A3 · #B12248
Velvet Ruby Marble
#134FA9 · #4D1CE5 · #DA5AEC · #F4A0C9
Hidden Ember
#1FE67D · #2BDEE8 · #3976DE · #4B25DD
Hidden Cascade
#29A8CC · #6EA2EB · #747AEE · #5E24DD
Gentle Ruby Bloom
#16C3CE · #84AAEB · #4A27D6 · #CF6BED
Amber Ruby Ember
#69900E · #E3ED4B · #4E15D4 · #B7A5F0

Similar colors

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

#4D23DE#4D1CE5#4B25DD#5E24DD#4A27D6#4E15D4#5914D6#562DD8#4022DC#4F27CF#591FCE#482FE1

Browse neighbouring colors

← #511EDE  ·  #511EE0 →

Frequently asked questions

What color is #511EDF?

#511EDF is Purple, a purple color (RGB 81, 30, 223). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #511EDF?

#511EDF is RGB 81, 30, 223 — HSL 256°, 76%, 50% — CMYK 64%, 87%, 0%, 13%.

What colors go with #511EDF?

Its complement is #ADE01F; analogous partners are #1F4CE0 and #B31FE0. It also appears in 6+ palettes in our collection.

Can I use #511EDF for text?

White text on #511EDF has a contrast ratio of 8.07:1 (passes WCAG AA); black text gives 2.60:1.