AfoliOpen Afoli →

Perrywinkle & Almost Black

A monochrome palette of 4 colors from the Afoli gallery: #101321, #484E82, #859DD6, #E8EDFF.

Open in the Afoli palette generator →

#101321 · Midnight Blue#484E82 · Dark Slate Blue#859DD6 · Cornflower Blue#E8EDFF · Lavender

Colors in this palette

HEXRGBHSLCMYKNearest named color
#101321rgb(16, 19, 33)hsl(229, 35%, 10%)52, 42, 0, 87≈ Midnight Blue
#484E82rgb(72, 78, 130)hsl(234, 29%, 40%)45, 40, 0, 49≈ Dark Slate Blue
#859DD6rgb(133, 157, 214)hsl(222, 50%, 68%)38, 27, 0, 16≈ Cornflower Blue
#E8EDFFrgb(232, 237, 255)hsl(227, 100%, 95%)9, 7, 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 · #859DD6
Button

Roles: background #101321, surface #101321, text #E8EDFF, primary #859DD6, accent #484E82 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background15.82 : 1-96Pass
Text on a card15.82 : 1-96Pass
Button label6.85 : 151Pass (WCAG)
Heading on background6.85 : 1-49Pass (WCAG)
Link on a card6.85 : 1-49Pass (WCAG)
Accent badge on a card2.36 : 1-14Fail
Primary control on background6.85 : 1-49Pass

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: #101321;
  --dark-slate-blue: #484E82;
  --cornflower-blue: #859DD6;
  --lavender: #E8EDFF;
}

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 Perrywinkle & Almost Black 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 Perrywinkle & Almost Black can I use for text?

#101321 text on #E8EDFF reaches 15.82 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026