Grape Purple & Pale Mauve
A dark palette of 4 colors from the Afoli gallery: #140415, #3D002A, #5D255B, #FDDDFB.
Open in the Afoli palette generator →
#140415 · Black#3D002A · Midnight Blue#5D255B · Dark Slate Blue#FDDDFB · Lavender
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #140415 | rgb(20, 4, 21) | hsl(296, 68%, 5%) | 5, 81, 0, 92 | ≈ Black |
| #3D002A | rgb(61, 0, 42) | hsl(319, 100%, 12%) | 0, 100, 31, 76 | ≈ Midnight Blue |
| #5D255B | rgb(93, 37, 91) | hsl(302, 43%, 25%) | 0, 60, 2, 64 | ≈ Dark Slate Blue |
| #FDDDFB | rgb(253, 221, 251) | hsl(304, 89%, 93%) | 0, 13, 1, 1 | ≈ 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 · #5D255B
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 15.99 : 1 | 91 | Pass |
| Text on a card | 15.99 : 1 | 91 | Pass |
| Button label | 8.99 : 1 | -83 | Pass |
| Heading on background | 8.99 : 1 | 81 | Pass |
| Link on a card | 8.99 : 1 | 81 | Pass |
| Accent badge on a card | 13.73 : 1 | 89 | Pass |
| Primary control on background | 8.99 : 1 | 81 | Pass |
CSS variables
:root {
--black: #140415;
--midnight-blue: #3D002A;
--dark-slate-blue: #5D255B;
--lavender: #FDDDFB;
}
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 Grape Purple & Pale Mauve 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 Grape Purple & Pale Mauve can I use for text?
#140415 text on #FDDDFB reaches 15.99 : 1, the strongest pair of the palette.
Similar palettes
- Claret & Ice
- Grape Purple & Pale Mauve (Mono)
- Plum Purple & Beige
- Aubergine & Lavender
- Dark Plum & Misty Rose
- Dark Slate Blue & 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)