AfoliOpen Afoli →

Lighter Purple & Dark Brown

A vivid palette of 4 colors from the Afoli gallery: #251000, #C06300, #A263E6, #CA99FF.

Open in the Afoli palette generator →

#251000 · Midnight Blue#C06300 · Chocolate#A263E6 · Medium Purple#CA99FF · Plum

Colors in this palette

HEXRGBHSLCMYKNearest named color
#251000rgb(37, 16, 0)hsl(26, 100%, 7%)0, 57, 100, 85≈ Midnight Blue
#C06300rgb(192, 99, 0)hsl(31, 100%, 38%)0, 48, 100, 25≈ Chocolate
#A263E6rgb(162, 99, 230)hsl(269, 72%, 65%)30, 57, 0, 10≈ Medium Purple
#CA99FFrgb(202, 153, 255)hsl(269, 100%, 80%)21, 40, 0, 0≈ Plum

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 · #A263E6
Button

Roles: background #251000, surface #251000, text #CA99FF, primary #A263E6, accent #C06300 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background8.25 : 1-58Pass (WCAG)
Text on a card8.25 : 1-58Pass (WCAG)
Button label4.74 : 137Pass (WCAG)
Heading on background4.74 : 1-35Pass (WCAG)
Link on a card4.74 : 1-35Pass (WCAG)
Accent badge on a card4.36 : 1-32Pass (WCAG)
Primary control on background4.74 : 1-35Pass (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: #251000;
  --chocolate: #C06300;
  --medium-purple: #A263E6;
  --plum: #CA99FF;
}

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

#251000 text on #CA99FF reaches 8.25 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026