Blue night · Dark theme
Twilight Violet
Blue-violet background with pink links and a sky-blue 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 Twilight Violet's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #e7dff1 on #1f122d, a
contrast of 13.7:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 9.0:1 and muted text at 6.3:1 against the background. The perceptual lightness gap between text and background is 0.70 on a scale from 0 to 1.
Use Twilight Violet 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 | #1f122d | The page behind everything | |
| Surface | #2b1d3b | Cards, panels and raised areas | |
| Text | #e7dff1 | Body text and headings | |
| Muted text | #a394b4 | Captions and secondary text | |
| Link | #f59ecf | Links you have not opened | |
| Visited link | #b293d6 | Links you have opened | |
| Accent | #5cd0ea | Buttons and highlights | |
| Border | #473759 | Lines and outlines | |
| Selection | #613950 | Behind text you select | |
| Scrollbar | #3e2f50 | The scrollbar thumb |
CSS variables
/* Twilight Violet — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #1f122d;
--dma-surface: #2b1d3b;
--dma-text: #e7dff1;
--dma-muted: #a394b4;
--dma-link: #f59ecf;
--dma-visited: #b293d6;
--dma-accent: #5cd0ea;
--dma-border: #473759;
--dma-selection: #613950;
--dma-scrollbar: #3e2f50;
}
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 | 13.7:1 | AAA |
| Text on panels text on surface | 12.1:1 | AAA |
| Muted text muted on background | 6.3:1 | AA |
| Links link on background | 9.0:1 | AAA |
| Visited links visited on background | 6.8:1 | AA |
| Accent accent on background | 9.9: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
Twilight Violet belongs to the Blue night family: navy, indigo and slate-blue backgrounds.
Not part of a purpose collection. Browse its family.
Credit
Twilight Violet is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
Similar themes
The closest themes to Twilight Violet by background, text and link colour.