Dark Slate Blue & Lavender
A dark palette of 5 colors from the Afoli gallery: #070B00, #26143D, #243000, #50337B, #EEEAFF.
Open in the Afoli palette generator →
#070B00 · Black#26143D · Midnight Blue#243000 · Dark Slate Gray#50337B · Dark Slate Blue#EEEAFF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #070B00 | rgb(7, 11, 0) | hsl(82, 100%, 2%) | 36, 0, 100, 96 | ≈ Black |
| #26143D | rgb(38, 20, 61) | hsl(266, 51%, 16%) | 38, 67, 0, 76 | ≈ Midnight Blue |
| #243000 | rgb(36, 48, 0) | hsl(75, 100%, 9%) | 25, 0, 100, 81 | ≈ Dark Slate Gray |
| #50337B | rgb(80, 51, 123) | hsl(264, 41%, 34%) | 35, 59, 0, 52 | ≈ Dark Slate Blue |
| #EEEAFF | rgb(238, 234, 255) | hsl(251, 100%, 96%) | 7, 8, 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 · #50337B
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 16.89 : 1 | 95 | Pass |
| Text on a card | 16.89 : 1 | 95 | Pass |
| Button label | 8.50 : 1 | -85 | Pass |
| Heading on background | 8.50 : 1 | 82 | Pass |
| Link on a card | 8.50 : 1 | 82 | Pass |
| Accent badge on a card | 11.92 : 1 | 90 | Pass |
| Primary control on background | 8.50 : 1 | 82 | Pass |
CSS variables
:root {
--black: #070B00;
--midnight-blue: #26143D;
--dark-slate-gray: #243000;
--dark-slate-blue: #50337B;
--lavender: #EEEAFF;
}
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 Slate Blue & 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 Slate Blue & Lavender can I use for text?
#070B00 text on #EEEAFF reaches 16.89 : 1, the strongest pair of the palette.
Similar palettes
- Aubergine & Lavender
- Midnight Blue & Lavender
- Night Blue & Lavender
- Evergreen & Lavender
- Forest & Pale Aqua
- Navy Green & Gainsboro
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)