Violet & Dark Forest Green
A vivid palette of 4 colors from the Afoli gallery: #00201D, #D2711B, #00BDB2, #EC8BE9.
Open in the Afoli palette generator →
#00201D · Midnight Blue#D2711B · Chocolate#00BDB2 · Light Sea Green#EC8BE9 · Violet
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #00201D | rgb(0, 32, 29) | hsl(174, 100%, 6%) | 100, 0, 9, 87 | ≈ Midnight Blue |
| #D2711B | rgb(210, 113, 27) | hsl(28, 77%, 46%) | 0, 46, 87, 18 | ≈ Chocolate |
| #00BDB2 | rgb(0, 189, 178) | hsl(177, 100%, 37%) | 100, 0, 6, 26 | ≈ Light Sea Green |
| #EC8BE9 | rgb(236, 139, 233) | hsl(302, 72%, 74%) | 0, 41, 1, 7 | ≈ Violet |
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 · #D2711B
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 7.71 : 1 | -57 | Pass (WCAG) |
| Text on a card | 7.71 : 1 | -57 | Pass (WCAG) |
| Button label | 5.00 : 1 | 41 | Pass (WCAG) |
| Heading on background | 5.00 : 1 | -39 | Pass (WCAG) |
| Link on a card | 5.00 : 1 | -39 | Pass (WCAG) |
| Accent badge on a card | 7.29 : 1 | -55 | Pass |
| Primary control on background | 5.00 : 1 | -39 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #00201D;
--chocolate: #D2711B;
--light-sea-green: #00BDB2;
--violet: #EC8BE9;
}
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 Violet & Dark Forest Green 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 Violet & Dark Forest Green can I use for text?
#00201D text on #EC8BE9 reaches 7.71 : 1, the strongest pair of the palette.
Similar palettes
- Carnation Pink & Dark Forest Green
- Rusty Red & Greenblue
- Medium Pink & Almost Black
- Violet & Dark Brown
- Purply Pink & Dark Brown
- Orchid & Dark Brown
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)