AfoliOpen Afoli →

Dark Lavender & Lavender

A calm palette of 6 colors from the Afoli gallery: #241F2F, #4B3C73, #8A67A0, #6C8DB6, #C1C2FF, #DDDBFF.

Open in the Afoli palette generator →

#241F2F · Midnight Blue#4B3C73 · Dark Slate Blue#8A67A0 · Slate Gray#6C8DB6 · Light Slate Gray#C1C2FF · Light Steel Blue#DDDBFF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#241F2Frgb(36, 31, 47)hsl(259, 21%, 15%)23, 34, 0, 82≈ Midnight Blue
#4B3C73rgb(75, 60, 115)hsl(256, 31%, 34%)35, 48, 0, 55≈ Dark Slate Blue
#8A67A0rgb(138, 103, 160)hsl(277, 23%, 52%)14, 36, 0, 37≈ Slate Gray
#6C8DB6rgb(108, 141, 182)hsl(213, 34%, 57%)41, 23, 0, 29≈ Light Slate Gray
#C1C2FFrgb(193, 194, 255)hsl(239, 100%, 88%)24, 24, 0, 0≈ Light Steel Blue
#DDDBFFrgb(221, 219, 255)hsl(243, 100%, 93%)13, 14, 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 · #8A67A0
Button

Roles: background #DDDBFF, surface #C1C2FF, text #241F2F, primary #8A67A0, accent #6C8DB6 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background11.93 : 184Pass
Text on a card9.47 : 171Pass (WCAG)
Button label3.46 : 1-57Fail
Heading on background3.46 : 153Pass (WCAG)
Link on a card2.74 : 140Fail
Accent badge on a card2.03 : 130Fail
Primary control on background3.46 : 153Pass

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: #241F2F;
  --dark-slate-blue: #4B3C73;
  --slate-gray: #8A67A0;
  --light-slate-gray: #6C8DB6;
  --light-steel-blue: #C1C2FF;
  --lavender: #DDDBFF;
}

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

#241F2F text on #DDDBFF reaches 11.93 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026