Pale Purple & Charcoal
A calm palette of 4 colors from the Afoli gallery: #37263D, #6C5579, #A293D3, #F7E8FF.
Open in the Afoli palette generator →
#37263D · Midnight Blue#6C5579 · Dim Gray#A293D3 · Cornflower Blue#F7E8FF · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #37263D | rgb(55, 38, 61) | hsl(284, 23%, 19%) | 10, 38, 0, 76 | ≈ Midnight Blue |
| #6C5579 | rgb(108, 85, 121) | hsl(278, 17%, 40%) | 11, 30, 0, 53 | ≈ Dim Gray |
| #A293D3 | rgb(162, 147, 211) | hsl(254, 42%, 70%) | 23, 30, 0, 17 | ≈ Cornflower Blue |
| #F7E8FF | rgb(247, 232, 255) | hsl(279, 100%, 95%) | 3, 9, 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 · #6C5579
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 11.90 : 1 | 90 | Pass |
| Text on a card | 11.90 : 1 | 90 | Pass |
| Button label | 5.58 : 1 | -76 | Pass |
| Heading on background | 5.58 : 1 | 72 | Pass |
| Link on a card | 5.58 : 1 | 72 | Pass (WCAG) |
| Accent badge on a card | 2.35 : 1 | 42 | Fail |
| Primary control on background | 5.58 : 1 | 72 | Pass |
CSS variables
:root {
--midnight-blue: #37263D;
--dim-gray: #6C5579;
--cornflower-blue: #A293D3;
--lavender: #F7E8FF;
}
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 Pale Purple & Charcoal 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 Pale Purple & Charcoal can I use for text?
#37263D text on #F7E8FF reaches 11.90 : 1, the strongest pair of the palette.
Similar palettes
- Dark Slate Blue & Lavender Blush
- Grape & Lavender
- Faded Blue & Eggplant Purple
- Wisteria & Very Dark Purple
- Perrywinkle & Almost Black
- Dark Mauve & 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)