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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #000902 | rgb(0, 9, 2) | hsl(133, 100%, 2%) | 100, 0, 78, 96 | ≈ Black |
| #410336 | rgb(65, 3, 54) | hsl(311, 91%, 13%) | 0, 95, 17, 75 | ≈ Indigo |
| #293B04 | rgb(41, 59, 4) | hsl(80, 87%, 12%) | 31, 0, 93, 77 | ≈ Dark Slate Gray |
| #F6E1F6 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 16.37 : 1 | 92 | Pass |
| Text on a card | 16.37 : 1 | 92 | Pass |
| Button label | 13.18 : 1 | -90 | Pass |
| Heading on background | 13.18 : 1 | 88 | Pass |
| Link on a card | 13.18 : 1 | 88 | Pass |
| Accent badge on a card | 9.89 : 1 | 84 | Pass |
| Primary control on background | 13.18 : 1 | 88 | Pass |
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
- Navy Green & Gainsboro
- Evergreen & Lavender
- Dark Slate Blue & Lavender
- Dark Plum & Misty Rose
- Hunter Green & Gainsboro
- Forest & Pale Aqua
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)