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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #331C28 | rgb(51, 28, 40) | hsl(329, 29%, 15%) | 0, 45, 22, 80 | ≈ Midnight Blue |
| #825B64 | rgb(130, 91, 100) | hsl(346, 18%, 43%) | 0, 30, 23, 49 | ≈ Dim Gray |
| #B0809D | rgb(176, 128, 157) | hsl(324, 23%, 60%) | 0, 27, 11, 31 | ≈ Rosy Brown |
| #ECD1D5 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 10.95 : 1 | -80 | Pass |
| Text on a card | 10.95 : 1 | -80 | Pass |
| Button label | 4.80 : 1 | 41 | Pass (WCAG) |
| Heading on background | 4.80 : 1 | -39 | Pass (WCAG) |
| Link on a card | 4.80 : 1 | -39 | Pass (WCAG) |
| Accent badge on a card | 2.71 : 1 | -20 | Fail |
| Primary control on background | 4.80 : 1 | -39 | Pass (WCAG) |
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
- Leather & Linen
- Greyish Pink & Dark Brown
- Dark Mauve & Lavender
- Dark Lavender & Pastel Pink
- Mauve & Aubergine
- Dusty Lavender & Dark Plum
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)