AfoliOpen Afoli →

Barney Purple color #A00498

Barney Purple is a color name from the xkcd color survey for the hex code #A00498 — RGB 160, 4, 152, HSL 303°, 95%, 32%.

Open in Afoli Colour tools →

#A00498Barney Purple

Color codes

HEX
#A00498
RGB
rgb(160, 4, 152)
HSL
hsl(303, 95%, 32%)
CMYK
0%, 98%, 5%, 37%
OKLCH
oklch(49.1% 0.221 331.1)

Tints and shades

#FFEFFD#FFC3F7#FF91F4#F066E4#D34BC9#B72CAE#9B0093#770071#560051#370033#1A0018

Color harmonies

Complementary
#A00498#007537
Analogous
#792CC6#A00498#B1005A
Triadic
#A00498#765E00#006D7C
Split complementary
#A00498#576A00#007164
Tetradic
#A00498#8E4F00#007537#00679B

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Barney Purple text on white7.08 : 182AAA — any text
Barney Purple text on black2.97 : 1-20Fails for text
White text on Barney Purple7.08 : 1-87AAA — any text
Black text on Barney Purple2.97 : 122Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Barney Purple?

Barney Purple has the hex code #A00498, which is RGB 160, 4, 152 and HSL 303°, 95%, 32%.

Which text color reads best on Barney Purple?

White text: contrast 7.08 : 1 (black text: 2.97 : 1).

Which colors go well with Barney Purple?

Its complementary color is #007537; analogous colors are #792CC6 and #B1005A; a triadic set adds #765E00 and #006D7C.

Similar colors

Sources and licences

Updated November 21, 2026