AfoliOpen Afoli →

Light Indigo & Dark Mustard

A vivid palette of 3 colors from the Afoli gallery: #261A38, #7850CA, #A68700.

Open in the Afoli palette generator →

#261A38 · Midnight Blue#7850CA · Slate Blue#A68700 · Dark Goldenrod

Colors in this palette

HEXRGBHSLCMYKNearest named color
#261A38rgb(38, 26, 56)hsl(264, 37%, 16%)32, 54, 0, 78≈ Midnight Blue
#7850CArgb(120, 80, 202)hsl(260, 54%, 55%)41, 60, 0, 21≈ Slate Blue
#A68700rgb(166, 135, 0)hsl(49, 100%, 33%)0, 19, 100, 35≈ Dark Goldenrod

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 · #261A38
Button

Roles: background #A68700, surface #7850CA, text #261A38, primary #261A38, accent #261A38 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background4.73 : 139Pass (WCAG)
Text on a card2.95 : 124Fail
Button label4.73 : 1-38Pass (WCAG)
Heading on background4.73 : 139Pass (WCAG)
Link on a card2.95 : 124Fail
Accent badge on a card2.95 : 124Fail
Primary control on background4.73 : 139Pass (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: #261A38;
  --slate-blue: #7850CA;
  --dark-goldenrod: #A68700;
}

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 Light Indigo & Dark Mustard 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 Light Indigo & Dark Mustard can I use for text?

#261A38 text on #A68700 reaches 4.73 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026