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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #101321 | rgb(16, 19, 33) | hsl(229, 35%, 10%) | 52, 42, 0, 87 | ≈ Midnight Blue |
| #484E82 | rgb(72, 78, 130) | hsl(234, 29%, 40%) | 45, 40, 0, 49 | ≈ Dark Slate Blue |
| #859DD6 | rgb(133, 157, 214) | hsl(222, 50%, 68%) | 38, 27, 0, 16 | ≈ Cornflower Blue |
| #E8EDFF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 15.82 : 1 | -96 | Pass |
| Text on a card | 15.82 : 1 | -96 | Pass |
| Button label | 6.85 : 1 | 51 | Pass (WCAG) |
| Heading on background | 6.85 : 1 | -49 | Pass (WCAG) |
| Link on a card | 6.85 : 1 | -49 | Pass (WCAG) |
| Accent badge on a card | 2.36 : 1 | -14 | Fail |
| Primary control on background | 6.85 : 1 | -49 | Pass |
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
- Night Blue & Alice Blue (Mono)
- Night Blue & Alice Blue
- Peacock Blue & Lavender
- Dark Slate Blue & Lavender Blush
- Pale Purple & Charcoal
- Deep Lilac & Almost Black
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)