AfoliOpen Afoli →

Purple Brown & Light Blue

A dark palette of 7 colors from the Afoli gallery: #170000, #00181F, #420803, #002A36, #0F413D, #74332F, #B5D8DE.

Open in the Afoli palette generator →

#170000 · Black#00181F · Midnight Blue#420803 · Maroon#002A36 · Midnight Blue#0F413D · Dark Slate Gray#74332F · Maroon#B5D8DE · Light Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#170000rgb(23, 0, 0)hsl(0, 100%, 5%)0, 100, 100, 91≈ Black
#00181Frgb(0, 24, 31)hsl(194, 100%, 6%)100, 23, 0, 88≈ Midnight Blue
#420803rgb(66, 8, 3)hsl(5, 91%, 14%)0, 88, 95, 74≈ Maroon
#002A36rgb(0, 42, 54)hsl(193, 100%, 11%)100, 22, 0, 79≈ Midnight Blue
#0F413Drgb(15, 65, 61)hsl(175, 62%, 16%)77, 0, 6, 75≈ Dark Slate Gray
#74332Frgb(116, 51, 47)hsl(3, 42%, 32%)0, 56, 59, 55≈ Maroon
#B5D8DErgb(181, 216, 222)hsl(189, 38%, 79%)18, 3, 0, 13≈ Light Blue

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 · #74332F
Button

Roles: background #B5D8DE, surface #B5D8DE, text #170000, primary #74332F, accent #0F413D (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background13.36 : 179Pass
Text on a card13.36 : 179Pass
Button label6.13 : 1-67Pass (WCAG)
Heading on background6.13 : 165Pass
Link on a card6.13 : 165Pass (WCAG)
Accent badge on a card7.51 : 170Pass
Primary control on background6.13 : 165Pass

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 {
  --black: #170000;
  --midnight-blue: #00181F;
  --maroon: #420803;
  --midnight-blue-2: #002A36;
  --dark-slate-gray: #0F413D;
  --maroon-2: #74332F;
  --light-blue: #B5D8DE;
}

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

#170000 text on #B5D8DE reaches 13.36 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026