AfoliOpen Afoli →

Grape Purple & Pale Mauve

A dark palette of 4 colors from the Afoli gallery: #140415, #3D002A, #5D255B, #FDDDFB.

Open in the Afoli palette generator →

#140415 · Black#3D002A · Midnight Blue#5D255B · Dark Slate Blue#FDDDFB · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#140415rgb(20, 4, 21)hsl(296, 68%, 5%)5, 81, 0, 92≈ Black
#3D002Argb(61, 0, 42)hsl(319, 100%, 12%)0, 100, 31, 76≈ Midnight Blue
#5D255Brgb(93, 37, 91)hsl(302, 43%, 25%)0, 60, 2, 64≈ Dark Slate Blue
#FDDDFBrgb(253, 221, 251)hsl(304, 89%, 93%)0, 13, 1, 1≈ Lavender

Preview in a UI

A heading in the primary color

Body text on the background, as a page or an app would show it.

Text on a card · #5D255B
Button

Roles: background #FDDDFB, surface #FDDDFB, text #140415, primary #5D255B, accent #3D002A (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background15.99 : 191Pass
Text on a card15.99 : 191Pass
Button label8.99 : 1-83Pass
Heading on background8.99 : 181Pass
Link on a card8.99 : 181Pass
Accent badge on a card13.73 : 189Pass
Primary control on background8.99 : 181Pass

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.

CSS variables

:root {
  --black: #140415;
  --midnight-blue: #3D002A;
  --dark-slate-blue: #5D255B;
  --lavender: #FDDDFB;
}

How this palette was made

Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).

Frequently asked questions

How do I use the Grape Purple & Pale Mauve palette in CSS?

Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.

Which colors of Grape Purple & Pale Mauve can I use for text?

#140415 text on #FDDDFB reaches 15.99 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026