Emerald & Aubergine
A bold palette of 3 colors from the Afoli gallery: #3C0033, #00995A, #FFCBFF.
Open in the Afoli palette generator →
#3C0033 · Midnight Blue#00995A · Sea Green#FFCBFF · Pink
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #3C0033 | rgb(60, 0, 51) | hsl(309, 100%, 12%) | 0, 100, 15, 76 | ≈ Midnight Blue |
| #00995A | rgb(0, 153, 90) | hsl(155, 100%, 30%) | 100, 0, 41, 40 | ≈ Sea Green |
| #FFCBFF | rgb(255, 203, 255) | hsl(300, 100%, 90%) | 0, 20, 0, 0 | ≈ Pink |
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 · #00995A
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 12.29 : 1 | -83 | Pass |
| Text on a card | 12.29 : 1 | -83 | Pass |
| Button label | 4.60 : 1 | 37 | Pass (WCAG) |
| Heading on background | 4.60 : 1 | -35 | Pass (WCAG) |
| Link on a card | 4.60 : 1 | -35 | Pass (WCAG) |
| Accent badge on a card | 4.60 : 1 | -35 | Pass (WCAG) |
| Primary control on background | 4.60 : 1 | -35 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #3C0033;
--sea-green: #00995A;
--pink: #FFCBFF;
}
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 Emerald & Aubergine 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 Emerald & Aubergine can I use for text?
#3C0033 text on #FFCBFF reaches 12.29 : 1, the strongest pair of the palette.
Similar palettes
- Swamp Green & Very Dark Purple
- Slate Green & Pale Mauve
- Dark Fuchsia & Pink
- Eggplant & Pale Lilac
- Grape Purple & Pale Mauve (Mono)
- Jungle Green & Pale Lavender
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)