AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#00201Drgb(0, 32, 29)hsl(174, 100%, 6%)100, 0, 9, 87≈ Midnight Blue
#D2711Brgb(210, 113, 27)hsl(28, 77%, 46%)0, 46, 87, 18≈ Chocolate
#00BDB2rgb(0, 189, 178)hsl(177, 100%, 37%)100, 0, 6, 26≈ Light Sea Green
#EC8BE9rgb(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
Button

Roles: background #00201D, surface #00201D, text #EC8BE9, primary #D2711B, accent #00BDB2 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background7.71 : 1-57Pass (WCAG)
Text on a card7.71 : 1-57Pass (WCAG)
Button label5.00 : 141Pass (WCAG)
Heading on background5.00 : 1-39Pass (WCAG)
Link on a card5.00 : 1-39Pass (WCAG)
Accent badge on a card7.29 : 1-55Pass
Primary control on background5.00 : 1-39Pass (WCAG)

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

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

Sources and licences

Updated November 21, 2026