Maroon Colors  ·  Color Library

Palettes / Colors / #520AFA

#520AFA — Vivid Purple

#520AFA is a purple color we call Vivid 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 #520AFA 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.

#520AFA 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 #B2FA0A; it also sits naturally between #0A3AFA and #CA0AFA. In the palettes below you can see it working alongside real color combinations from our collection.

#520AFA · RGB 82, 10, 250

Download PNG swatch SVG

Color values

HEX#520AFA
RGB82, 10, 250
HSL258°, 96%, 51%
HSV258°, 96%, 98%
CMYK67%, 96%, 0%, 2%
XYZ20.84, 8.91, 91.06
Yxy8.91, 0.1725, 0.0738
CIE-Lab35.82, 78.17, -99.10
Hunter Lab29.85, 75.15, -167.79

RGB & CMYK percentages

Red 32% · Green 4% · Blue 98%

Cyan 67% · Magenta 96% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #520AFA

.text { color: #520AFA; }
.background { background-color: #520AFA; }
.border { border: 3px solid #520AFA; }
.text-rgb { color: rgb(82, 10, 250); }
.text-hsl { color: hsl(258, 96%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #520AFA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(82, 10, 250, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #520AFA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(82, 10, 250, 0.8); }

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

Shades of #520AFA

#4805E6#4204D2#3A04B9#3203A0#2C038C#240273#1C025A#140141#0E012D#060014

Tints of #520AFA

#6423FB#7237FB#8350FB#9264FC#A37DFC#B191FD#C3AAFD#D1BEFE#E3D7FE#F1EBFF

Tones of #520AFA

#591CE9#602CD8#673DC7#6E4FB5#7560A4#7B7194

Color harmonies

Complementary — #B2FA0A:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.55:1 AAA
Against black text2.78:1 Fails

Best text color on #520AFA: #FFFFFF.

Semi-transparent (opacity) text on #520AFA

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 #520AFA: ·

How #520AFA looks with color blindness

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

Protanopia · #3332C0Deuteranopia · #373CB2Tritanopia · #4E9288

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 · #7C3AEDTailwind purple 600 · #9333EA

Palettes with a similar color

These palettes use a close neighbour of #520AFA rather than the exact color:

Modern Ruby Monsoon
#280708 · #4B13FB · #4FFEF3 · #3EF994
Palette 000000
#000000 · #5800FF · #E900FF · #FFC600
Scarlet Ruby Ember
#182610 · #1CFCE4 · #4813F9 · #6E1CFA
Palette 5902ec
#5902EC · #E04DB0 · #F2C9E1 · #FFFA4D
Palette 4300ff
#4300FF · #0065F8 · #00CAFF · #00FFDE
Hidden Ruby Cinder
#153611 · #4116F9 · #14D8F9 · #F76329

Similar colors

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

#4B13FB#5800FF#4813F9#5902EC#4300FF#4116F9#6900FF#5B23FF#4D1CE5#5F24F6#411CEA#3514FC

Browse neighbouring colors

← #520AF9  ·  #520AFB →

Frequently asked questions

What color is #520AFA?

#520AFA is Vivid Purple, a purple color (RGB 82, 10, 250). Its closest standard named color is BlueViolet.

What is the RGB and HSL of #520AFA?

#520AFA is RGB 82, 10, 250 — HSL 258°, 96%, 51% — CMYK 67%, 96%, 0%, 2%.

What colors go with #520AFA?

Its complement is #B2FA0A; analogous partners are #0A3AFA and #CA0AFA. It also appears in 6+ palettes in our collection.

Can I use #520AFA for text?

White text on #520AFA has a contrast ratio of 7.55:1 (passes WCAG AA); black text gives 2.78:1.