Seafoam & Deep Purple
A bold palette of 4 colors from the Afoli gallery: #300051, #505C00, #A286CF, #8FF1A8.
Open in the Afoli palette generator →
#300051 · Midnight Blue#505C00 · Dark Olive Green#A286CF · Medium Purple#8FF1A8 · Light Green
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #300051 | rgb(48, 0, 81) | hsl(276, 100%, 16%) | 41, 100, 0, 68 | ≈ Midnight Blue |
| #505C00 | rgb(80, 92, 0) | hsl(68, 100%, 18%) | 13, 0, 100, 64 | ≈ Dark Olive Green |
| #A286CF | rgb(162, 134, 207) | hsl(263, 43%, 67%) | 22, 35, 0, 19 | ≈ Medium Purple |
| #8FF1A8 | rgb(143, 241, 168) | hsl(135, 78%, 75%) | 41, 0, 30, 5 | ≈ Light Green |
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 · #A286CF
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 12.31 : 1 | -83 | Pass |
| Text on a card | 12.31 : 1 | -83 | Pass |
| Button label | 5.50 : 1 | 43 | Pass (WCAG) |
| Heading on background | 5.50 : 1 | -42 | Pass (WCAG) |
| Link on a card | 5.50 : 1 | -42 | Pass (WCAG) |
| Accent badge on a card | 2.31 : 1 | -14 | Fail |
| Primary control on background | 5.50 : 1 | -42 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #300051;
--dark-olive-green: #505C00;
--medium-purple: #A286CF;
--light-green: #8FF1A8;
}
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 Seafoam & Deep Purple 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 Seafoam & Deep Purple can I use for text?
#300051 text on #8FF1A8 reaches 12.31 : 1, the strongest pair of the palette.
Similar palettes
- Light Purple & Midnight Purple
- Pale Violet Red & Dark Plum (Bold) 2
- Pale Magenta & Pine
- Tiffany Blue & Dark Slate Blue
- Light Mint Green & Deep Green
- Grape Purple & Greenish Beige
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)