Developer classics · Dark theme
Plum Tropic
Dark plum with warm grey text, bright blue links and a yellow accent.
Preview
Field notes · 4 minute read
How tide pools keep their colour
At low tide the rock holds small pools of sea water. Each one is a link you have not opened, and beside it one you already have. A value such as depth: 12cm sits in a code chip.
A good theme keeps a quote readable without making it shout.
| Pool | Depth | Seen |
|---|---|---|
| North ledge | 12 cm | Anemone, limpets |
| Split rock | 30 cm | Shore crab |
A sample page in Plum Tropic's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #d8d3d0 on #2f1e2e, a
contrast of 10.5:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 6.7:1 and muted text at 4.8:1 against the background. The perceptual lightness gap between text and background is 0.61 on a scale from 0 to 1.
Use Plum Tropic on the sites you open.
Free in Dark Mode Alpha, along with every other theme. Give it to one site or to all of them.
Palette
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #2f1e2e | The page behind everything | |
| Surface | #41323f | Cards, panels and raised areas | |
| Text | #d8d3d0 | Body text and headings | |
| Muted text | #948d8e | Captions and secondary text | |
| Link | #06b6ef | Links you have not opened | |
| Visited link | #a27bc7 | Links you have opened | |
| Accent | #fec418 | Buttons and highlights | |
| Border | #4f424c | Lines and outlines | |
| Selection | #776e71 | Behind text you select | |
| Scrollbar | #4b3d48 | The scrollbar thumb |
CSS variables
/* Plum Tropic — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #2f1e2e;
--dma-surface: #41323f;
--dma-text: #d8d3d0;
--dma-muted: #948d8e;
--dma-link: #06b6ef;
--dma-visited: #a27bc7;
--dma-accent: #fec418;
--dma-border: #4f424c;
--dma-selection: #776e71;
--dma-scrollbar: #4b3d48;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
Contrast figures
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 10.5:1 | AAA |
| Text on panels text on surface | 8.1:1 | AAA |
| Muted text muted on background | 4.8:1 | AA |
| Links link on background | 6.7:1 | AA |
| Visited links visited on background | 4.6:1 | AA |
| Accent accent on background | 9.7:1 | AAA |
AAA means at least 7:1, AA at least 4.5:1, and "AA large" at least 3:1, which is enough for large text and interface parts but not for body text.
Family and collections
Plum Tropic belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
- Softer contrast Off-white text on a lifted dark background, never pure white on pure black. Some people prefer text that is less stark.
Credit and licence
The colours of Plum Tropic are inspired by the open-source palette Paraiso (base16) by Jan T. Sott , published under the MIT licence. The name, the adjustments and the contrast checks are ours.
Similar themes
The closest themes to Plum Tropic by background, text and link colour.