AfoliOpen Afoli →

Aubergine & Lavender

A dark palette of 4 colors from the Afoli gallery: #000902, #410336, #293B04, #F6E1F6.

Open in the Afoli palette generator →

#000902 · Black#410336 · Indigo#293B04 · Dark Slate Gray#F6E1F6 · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#000902rgb(0, 9, 2)hsl(133, 100%, 2%)100, 0, 78, 96≈ Black
#410336rgb(65, 3, 54)hsl(311, 91%, 13%)0, 95, 17, 75≈ Indigo
#293B04rgb(41, 59, 4)hsl(80, 87%, 12%)31, 0, 93, 77≈ Dark Slate Gray
#F6E1F6rgb(246, 225, 246)hsl(300, 54%, 92%)0, 9, 0, 4≈ 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 · #410336
Button

Roles: background #F6E1F6, surface #F6E1F6, text #000902, primary #410336, accent #293B04 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background16.37 : 192Pass
Text on a card16.37 : 192Pass
Button label13.18 : 1-90Pass
Heading on background13.18 : 188Pass
Link on a card13.18 : 188Pass
Accent badge on a card9.89 : 184Pass
Primary control on background13.18 : 188Pass

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: #000902;
  --indigo: #410336;
  --dark-slate-gray: #293B04;
  --lavender: #F6E1F6;
}

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

#000902 text on #F6E1F6 reaches 16.37 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026