AfoliOpen Afoli →

Grape Purple color #5D1451

Grape Purple is a color name from the xkcd color survey for the hex code #5D1451 — RGB 93, 20, 81, HSL 310°, 65%, 22%.

Open in Afoli Colour tools →

#5D1451Grape Purple

Color codes

HEX
#5D1451
RGB
rgb(93, 20, 81)
HSL
hsl(310, 65%, 22%)
CMYK
0%, 78%, 13%, 64%
OKLCH
oklch(34.1% 0.127 335.6)

Tints and shades

#FFF0FB#FFC5F1#F3A0DF#D786C5#BC6DAA#A15591#873D78#6E2560#550A49#380030#1B0016

Color harmonies

Complementary
#5D1451#004525
Analogous
#49206B#5D1451#690B2F
Triadic
#5D1451#443700#00404C
Split complementary
#5D1451#2D4000#00423D
Tetradic
#5D1451#532F00#004525#003B62

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Grape Purple text on white12.47 : 197AAA — any text
Grape Purple text on black1.68 : 10Fails for text
White text on Grape Purple12.47 : 1-101AAA — any text
Black text on Grape Purple1.68 : 10Fails 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 Grape Purple?

Grape Purple has the hex code #5D1451, which is RGB 93, 20, 81 and HSL 310°, 65%, 22%.

Which text color reads best on Grape Purple?

White text: contrast 12.47 : 1 (black text: 1.68 : 1).

Which colors go well with Grape Purple?

Its complementary color is #004525; analogous colors are #49206B and #690B2F; a triadic set adds #443700 and #00404C.

Similar colors

Sources and licences

Updated November 21, 2026