Medium Green & Deep Purple
A bold palette of 4 colors from the Afoli gallery: #320039, #88468F, #31AF3B, #B3FFB8.
Open in the Afoli palette generator →
#320039 · Midnight Blue#88468F · Rebecca Purple#31AF3B · Medium Sea Green#B3FFB8 · Pale Green
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #320039 | rgb(50, 0, 57) | hsl(293, 100%, 11%) | 12, 100, 0, 78 | ≈ Midnight Blue |
| #88468F | rgb(136, 70, 143) | hsl(294, 34%, 42%) | 5, 51, 0, 44 | ≈ Rebecca Purple |
| #31AF3B | rgb(49, 175, 59) | hsl(125, 56%, 44%) | 72, 0, 66, 31 | ≈ Medium Sea Green |
| #B3FFB8 | rgb(179, 255, 184) | hsl(124, 100%, 85%) | 30, 0, 28, 0 | ≈ Pale Green |
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 · #31AF3B
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 14.99 : 1 | -94 | Pass |
| Text on a card | 14.99 : 1 | -94 | Pass |
| Button label | 6.13 : 1 | 47 | Pass (WCAG) |
| Heading on background | 6.13 : 1 | -46 | Pass (WCAG) |
| Link on a card | 6.13 : 1 | -46 | Pass (WCAG) |
| Accent badge on a card | 2.78 : 1 | -19 | Fail |
| Primary control on background | 6.13 : 1 | -46 | Pass |
CSS variables
:root {
--midnight-blue: #320039;
--rebecca-purple: #88468F;
--medium-sea-green: #31AF3B;
--pale-green: #B3FFB8;
}
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 Medium Green & Deep Purple 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 Medium Green & Deep Purple can I use for text?
#320039 text on #B3FFB8 reaches 14.99 : 1, the strongest pair of the palette.
Similar palettes
- Purple & Light Pastel Green
- Pale Lime & Very Dark Green
- Moss & Dark Slate Blue
- Windows Blue & Pale Goldenrod
- Dark Fuchsia & Pink
- Dark Purple & Pale Sky Blue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)