Maroon Colors  ·  Color Library

Palettes / Colors / #802FAC

#802FAC — Purple

#802FAC is a purple color we call Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #802FAC 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.

#802FAC is a cool purple color associated with luxury, creativity and mystery. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #5BAC2F; it also sits naturally between #422FAC and #AC2F99. In the palettes below you can see it working alongside real color combinations from our collection.

#802FAC · RGB 128, 47, 172

Download PNG swatch SVG

Color values

HEX#802FAC
RGB128, 47, 172
HSL279°, 57%, 43%
HSV279°, 73%, 67%
CMYK26%, 73%, 0%, 33%
XYZ17.36, 9.60, 39.97
Yxy9.60, 0.2594, 0.1434
CIE-Lab37.12, 54.77, -51.62
Hunter Lab30.99, 48.22, -58.65

RGB & CMYK percentages

Red 50% · Green 18% · Blue 67%

Cyan 26% · Magenta 73% · Yellow 0% · Key 33%

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

Previews

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

CSS code for #802FAC

.text { color: #802FAC; }
.background { background-color: #802FAC; }
.border { border: 3px solid #802FAC; }
.text-rgb { color: rgb(128, 47, 172); }
.text-hsl { color: hsl(279, 57%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #802FAC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(128, 47, 172, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #802FAC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(128, 47, 172, 0.8); }

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

Shades of #802FAC

#742B9C#69268C#5D227C#511E6C#481A60#3C1650#301240#240D30#180920#0C0410

Tints of #802FAC

#8F35C0#9E47CD#A85BD2#B36FD8#C087DE#CA9BE4#D5AFE9#DFC3EF#ECDBF5#F7EFFB

Tones of #802FAC

#7E38A3#7B419B#794992#765388#735C7F#706576

Color harmonies

Complementary — #5BAC2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.19:1 AAA
Against black text2.92:1 Fails

Best text color on #802FAC: #FFFFFF.

Semi-transparent (opacity) text on #802FAC

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 #802FAC: ·

How #802FAC looks with color blindness

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

Protanopia · #5D5C8EDeuteranopia · #626887Tritanopia · #7C7671

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 Purple 500 · #9C27B0Material Deep Purple 500 · #673AB7Tailwind purple 600 · #9333EA

Palettes with a similar color

These palettes use a close neighbour of #802FAC rather than the exact color:

Lucky Twilight
#8132B1 · #DC69C3 · #E0506C · #DB9466
Tender Tempest
#812DA5 · #D0AA51 · #37C99E · #DCBDE4
Dreamy Zephyr
#5B8BCF · #2D1F77 · #882CAE · #8C2770
Tender Harbor
#5252D9 · #8359DE · #7E27B1 · #CD48D6
Crimson Summit
#4B812A · #95CC63 · #8139AE · #E3CEEA
Palette 443199
#443199 · #792CA2 · #C13383 · #E05454

Similar colors

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

#8132B1#812DA5#882CAE#7E27B1#8139AE#792CA2#8632B8#862BB8#8A25B1#8338B8#7B22A5#8C28B4

Browse neighbouring colors

← #802FAB  ·  #802FAD →

Frequently asked questions

What color is #802FAC?

#802FAC is Purple, a purple color (RGB 128, 47, 172). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #802FAC?

#802FAC is RGB 128, 47, 172 — HSL 279°, 57%, 43% — CMYK 26%, 73%, 0%, 33%.

What colors go with #802FAC?

Its complement is #5BAC2F; analogous partners are #422FAC and #AC2F99. It also appears in 6+ palettes in our collection.

Can I use #802FAC for text?

White text on #802FAC has a contrast ratio of 7.19:1 (passes WCAG AA); black text gives 2.92:1.