AfoliOpen Afoli →

Dusty Lavender & Eggplant

A earthy palette of 4 colors from the Afoli gallery: #331C28, #825B64, #B0809D, #ECD1D5.

Open in the Afoli palette generator →

#331C28 · Midnight Blue#825B64 · Dim Gray#B0809D · Rosy Brown#ECD1D5 · Gainsboro

Colors in this palette

HEXRGBHSLCMYKNearest named color
#331C28rgb(51, 28, 40)hsl(329, 29%, 15%)0, 45, 22, 80≈ Midnight Blue
#825B64rgb(130, 91, 100)hsl(346, 18%, 43%)0, 30, 23, 49≈ Dim Gray
#B0809Drgb(176, 128, 157)hsl(324, 23%, 60%)0, 27, 11, 31≈ Rosy Brown
#ECD1D5rgb(236, 209, 213)hsl(351, 42%, 87%)0, 11, 10, 7≈ Gainsboro

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 · #B0809D
Button

Roles: background #331C28, surface #331C28, text #ECD1D5, primary #B0809D, accent #825B64 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background10.95 : 1-80Pass
Text on a card10.95 : 1-80Pass
Button label4.80 : 141Pass (WCAG)
Heading on background4.80 : 1-39Pass (WCAG)
Link on a card4.80 : 1-39Pass (WCAG)
Accent badge on a card2.71 : 1-20Fail
Primary control on background4.80 : 1-39Pass (WCAG)

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 {
  --midnight-blue: #331C28;
  --dim-gray: #825B64;
  --rosy-brown: #B0809D;
  --gainsboro: #ECD1D5;
}

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 Dusty Lavender & Eggplant 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 Dusty Lavender & Eggplant can I use for text?

#331C28 text on #ECD1D5 reaches 10.95 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026