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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #261A38 | rgb(38, 26, 56) | hsl(264, 37%, 16%) | 32, 54, 0, 78 | ≈ Midnight Blue |
| #7850CA | rgb(120, 80, 202) | hsl(260, 54%, 55%) | 41, 60, 0, 21 | ≈ Slate Blue |
| #A68700 | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 4.73 : 1 | 39 | Pass (WCAG) |
| Text on a card | 2.95 : 1 | 24 | Fail |
| Button label | 4.73 : 1 | -38 | Pass (WCAG) |
| Heading on background | 4.73 : 1 | 39 | Pass (WCAG) |
| Link on a card | 2.95 : 1 | 24 | Fail |
| Accent badge on a card | 2.95 : 1 | 24 | Fail |
| Primary control on background | 4.73 : 1 | 39 | Pass (WCAG) |
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
- Cornflower & Navy Blue
- Purply Pink & Dark Brown
- Tangerine & Dark Indigo
- Purpley & Midnight Purple
- Pinky Purple & Very Dark Purple
- Cornflower & Navy Blue (Vivid)
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)