AfoliOpen Afoli →

Pinky Purple & Very Dark Purple

A vivid palette of 6 colors from the Afoli gallery: #300027, #846500, #008979, #818D00, #CD5AC1, #9EB900.

Open in the Afoli palette generator →

#300027 · Midnight Blue#846500 · Dark Olive Green#008979 · Dark Cyan#818D00 · Olive Drab#CD5AC1 · Medium Orchid#9EB900 · Yellow Green

Colors in this palette

HEXRGBHSLCMYKNearest named color
#300027rgb(48, 0, 39)hsl(311, 100%, 9%)0, 100, 19, 81≈ Midnight Blue
#846500rgb(132, 101, 0)hsl(46, 100%, 26%)0, 23, 100, 48≈ Dark Olive Green
#008979rgb(0, 137, 121)hsl(173, 100%, 27%)100, 0, 12, 46≈ Dark Cyan
#818D00rgb(129, 141, 0)hsl(65, 100%, 28%)9, 0, 100, 45≈ Olive Drab
#CD5AC1rgb(205, 90, 193)hsl(306, 53%, 58%)0, 56, 6, 20≈ Medium Orchid
#9EB900rgb(158, 185, 0)hsl(69, 100%, 36%)15, 0, 100, 27≈ Yellow 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 · #CD5AC1
Button

Roles: background #300027, surface #300027, text #9EB900, primary #CD5AC1, accent #818D00 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.13 : 1-57Pass (WCAG)
Text on a card8.13 : 1-57Pass (WCAG)
Button label5.05 : 139Pass (WCAG)
Heading on background5.05 : 1-37Pass (WCAG)
Link on a card5.05 : 1-37Pass (WCAG)
Accent badge on a card4.97 : 1-36Pass (WCAG)
Primary control on background5.05 : 1-37Pass (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: #300027;
  --dark-olive-green: #846500;
  --dark-cyan: #008979;
  --olive-drab: #818D00;
  --medium-orchid: #CD5AC1;
  --yellow-green: #9EB900;
}

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 Pinky Purple & Very Dark 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 Pinky Purple & Very Dark Purple can I use for text?

#300027 text on #9EB900 reaches 8.13 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026