Maroon Colors  ·  Color Library

Palettes / Colors / #5C02CA

#5C02CA — Vivid Purple

#5C02CA is a purple color we call Vivid Purple, closest to the named color DarkViolet (#9400D3). It belongs to the purple family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #5C02CA 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.

#5C02CA 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 #70CA02; it also sits naturally between #020CCA and #C002CA. In the palettes below you can see it working alongside real color combinations from our collection.

#5C02CA · RGB 92, 2, 202

Download PNG swatch SVG

Color values

HEX#5C02CA
RGB92, 2, 202
HSL267°, 98%, 40%
HSV267°, 99%, 79%
CMYK54%, 99%, 0%, 21%
XYZ15.10, 6.58, 56.35
Yxy6.58, 0.1935, 0.0844
CIE-Lab30.84, 68.89, -79.82
Hunter Lab25.66, 62.47, -118.03

RGB & CMYK percentages

Red 36% · Green 1% · Blue 79%

Cyan 54% · Magenta 99% · Yellow 0% · Key 21%

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

Previews

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

CSS code for #5C02CA

.text { color: #5C02CA; }
.background { background-color: #5C02CA; }
.border { border: 3px solid #5C02CA; }
.text-rgb { color: rgb(92, 2, 202); }
.text-hsl { color: hsl(267, 98%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #5C02CA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(92, 2, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #5C02CA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(92, 2, 202, 0.8); }

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

Shades of #5C02CA

#5302B6#4C02A7#430192#3C0183#33016F#29015B#23014C#190138#120028#090014

Tints of #5C02CA

#6A02E8#7608FD#8726FD#953FFD#A55DFD#B67CFE#C495FE#D5B3FE#E3CDFE#F4EBFF

Tones of #5C02CA

#5D10BC#5F1FAD#602D9F#623B91#634983#655874

Color harmonies

Complementary — #70CA02:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.07:1 AAA
Against black text2.32:1 Fails

Best text color on #5C02CA: #FFFFFF.

Semi-transparent (opacity) text on #5C02CA

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 #5C02CA: ·

How #5C02CA looks with color blindness

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

Protanopia · #35349ADeuteranopia · #3A418ETritanopia · #57736B

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 · #673AB7Tailwind violet 600 · #7C3AEDTailwind indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #5C02CA rather than the exact color:

Ruby Cascade
#5003C0 · #AB03A9 · #FF467A · #FFD51E
Lucky Ruby Cascade
#5A10C0 · #8535EE · #9CED2B · #D8F19D
Palette 5d12d2
#5D12D2 · #B931FC · #FF6AC2 · #FFE5E5
Royal Opal
#5914D6 · #89158D · #7B0E3C · #C43715
Amber Ruby Ember
#69900E · #E3ED4B · #4E15D4 · #B7A5F0
Vivid Ruby Saffron
#6112B6 · #EA25D7 · #EF5E89 · #F5B89B

Similar colors

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

#5003C0#5A10C0#5D12D2#5914D6#4E15D4#6112B6#551CC0#591FCE#4717CB#7209B7#4315C6#541BB8

Browse neighbouring colors

← #5C02C9  ·  #5C02CB →

Frequently asked questions

What color is #5C02CA?

#5C02CA is Vivid Purple, a purple color (RGB 92, 2, 202). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #5C02CA?

#5C02CA is RGB 92, 2, 202 — HSL 267°, 98%, 40% — CMYK 54%, 99%, 0%, 21%.

What colors go with #5C02CA?

Its complement is #70CA02; analogous partners are #020CCA and #C002CA. It also appears in 6+ palettes in our collection.

Can I use #5C02CA for text?

White text on #5C02CA has a contrast ratio of 9.07:1 (passes WCAG AA); black text gives 2.32:1.