Deep Lilac & Almost Black
A monochrome palette of 5 colors from the Afoli gallery: #140D1F, #464251, #806CB7, #C2ABDB, #F7F3FF.
Open in the Afoli palette generator →
#140D1F · Midnight Blue#464251 · Dark Slate Gray#806CB7 · Medium Purple#C2ABDB · Plum#F7F3FF · Ghost White
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #140D1F | rgb(20, 13, 31) | hsl(263, 41%, 9%) | 35, 58, 0, 88 | ≈ Midnight Blue |
| #464251 | rgb(70, 66, 81) | hsl(256, 10%, 29%) | 14, 19, 0, 68 | ≈ Dark Slate Gray |
| #806CB7 | rgb(128, 108, 183) | hsl(256, 34%, 57%) | 30, 41, 0, 28 | ≈ Medium Purple |
| #C2ABDB | rgb(194, 171, 219) | hsl(269, 40%, 76%) | 11, 22, 0, 14 | ≈ Plum |
| #F7F3FF | rgb(247, 243, 255) | hsl(260, 100%, 98%) | 3, 5, 0, 0 | ≈ Ghost White |
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 · #806CB7
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 17.36 : 1 | -101 | Pass |
| Text on a card | 17.36 : 1 | -101 | Pass |
| Button label | 4.29 : 1 | 33 | Fail |
| Heading on background | 4.29 : 1 | -31 | Pass (WCAG) |
| Link on a card | 4.29 : 1 | -31 | Fail |
| Accent badge on a card | 9.16 : 1 | -61 | Pass |
| Primary control on background | 4.29 : 1 | -31 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #140D1F;
--dark-slate-gray: #464251;
--medium-purple: #806CB7;
--plum: #C2ABDB;
--ghost-white: #F7F3FF;
}
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 Deep Lilac & 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 Deep Lilac & Almost Black can I use for text?
#140D1F text on #F7F3FF reaches 17.36 : 1, the strongest pair of the palette.
Similar palettes
- Light Violet & Midnight Purple
- Steel Blue & Alice Blue
- Dark Slate Blue & Lavender Blush
- Perrywinkle & Almost Black
- Aubergine & Lavender Blush
- Dark Lavender & Lavender
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)