AfoliOpen Afoli →

Violet & Dark Forest Green (Bold)

A bold palette of 5 colors from the Afoli gallery: #00240E, #7C2C74, #1B862F, #DE7FEA, #6AF99E.

Open in the Afoli palette generator →

#00240E · Dark Slate Gray#7C2C74 · Purple#1B862F · Forest Green#DE7FEA · Violet#6AF99E · Medium Spring Green

Colors in this palette

HEXRGBHSLCMYKNearest named color
#00240Ergb(0, 36, 14)hsl(143, 100%, 7%)100, 0, 61, 86≈ Dark Slate Gray
#7C2C74rgb(124, 44, 116)hsl(306, 48%, 33%)0, 65, 6, 51≈ Purple
#1B862Frgb(27, 134, 47)hsl(131, 66%, 32%)80, 0, 65, 47≈ Forest Green
#DE7FEArgb(222, 127, 234)hsl(293, 72%, 71%)5, 46, 0, 8≈ Violet
#6AF99Ergb(106, 249, 158)hsl(142, 92%, 70%)57, 0, 37, 2≈ Medium Spring 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 · #DE7FEA
Button

Roles: background #00240E, surface #00240E, text #6AF99E, primary #DE7FEA, accent #1B862F (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.44 : 1-85Pass
Text on a card12.44 : 1-85Pass
Button label6.62 : 152Pass (WCAG)
Heading on background6.62 : 1-51Pass (WCAG)
Link on a card6.62 : 1-51Pass (WCAG)
Accent badge on a card3.57 : 1-28Pass (WCAG)
Primary control on background6.62 : 1-51Pass

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 {
  --dark-slate-gray: #00240E;
  --purple: #7C2C74;
  --forest-green: #1B862F;
  --violet: #DE7FEA;
  --medium-spring-green: #6AF99E;
}

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 (Bold) 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 (Bold) can I use for text?

#00240E text on #6AF99E reaches 12.44 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026