AfoliOpen Afoli →

Faded Blue & Eggplant Purple

A calm palette of 5 colors from the Afoli gallery: #391D4D, #554A5F, #4897B7, #92ADBF, #F5ECFF.

Open in the Afoli palette generator →

#391D4D · Midnight Blue#554A5F · Dark Slate Gray#4897B7 · Cadet Blue#92ADBF · Dark Gray#F5ECFF · Lavender Blush

Colors in this palette

HEXRGBHSLCMYKNearest named color
#391D4Drgb(57, 29, 77)hsl(275, 45%, 21%)26, 62, 0, 70≈ Midnight Blue
#554A5Frgb(85, 74, 95)hsl(271, 12%, 33%)11, 22, 0, 63≈ Dark Slate Gray
#4897B7rgb(72, 151, 183)hsl(197, 44%, 50%)61, 17, 0, 28≈ Cadet Blue
#92ADBFrgb(146, 173, 191)hsl(204, 26%, 66%)24, 9, 0, 25≈ Dark Gray
#F5ECFFrgb(245, 236, 255)hsl(268, 100%, 96%)4, 7, 0, 0≈ Lavender Blush

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 · #554A5F
Button

Roles: background #F5ECFF, surface #F5ECFF, text #391D4D, primary #554A5F, accent #4897B7 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background12.58 : 192Pass
Text on a card12.58 : 192Pass
Button label7.24 : 1-83Pass
Heading on background7.24 : 179Pass
Link on a card7.24 : 179Pass
Accent badge on a card2.87 : 151Fail
Primary control on background7.24 : 179Pass

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: #391D4D;
  --dark-slate-gray: #554A5F;
  --cadet-blue: #4897B7;
  --dark-gray: #92ADBF;
  --lavender-blush: #F5ECFF;
}

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

#391D4D text on #F5ECFF reaches 12.58 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026