AfoliOpen Afoli →

Dark Slate Blue & Lavender

A dark palette of 5 colors from the Afoli gallery: #070B00, #26143D, #243000, #50337B, #EEEAFF.

Open in the Afoli palette generator →

#070B00 · Black#26143D · Midnight Blue#243000 · Dark Slate Gray#50337B · Dark Slate Blue#EEEAFF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#070B00rgb(7, 11, 0)hsl(82, 100%, 2%)36, 0, 100, 96≈ Black
#26143Drgb(38, 20, 61)hsl(266, 51%, 16%)38, 67, 0, 76≈ Midnight Blue
#243000rgb(36, 48, 0)hsl(75, 100%, 9%)25, 0, 100, 81≈ Dark Slate Gray
#50337Brgb(80, 51, 123)hsl(264, 41%, 34%)35, 59, 0, 52≈ Dark Slate Blue
#EEEAFFrgb(238, 234, 255)hsl(251, 100%, 96%)7, 8, 0, 0≈ Lavender

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 · #50337B
Button

Roles: background #EEEAFF, surface #EEEAFF, text #070B00, primary #50337B, accent #243000 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background16.89 : 195Pass
Text on a card16.89 : 195Pass
Button label8.50 : 1-85Pass
Heading on background8.50 : 182Pass
Link on a card8.50 : 182Pass
Accent badge on a card11.92 : 190Pass
Primary control on background8.50 : 182Pass

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: #070B00;
  --midnight-blue: #26143D;
  --dark-slate-gray: #243000;
  --dark-slate-blue: #50337B;
  --lavender: #EEEAFF;
}

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 Dark Slate Blue & Lavender 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 Dark Slate Blue & Lavender can I use for text?

#070B00 text on #EEEAFF reaches 16.89 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026