New: 177 themes, each one tested for readable contrast. Browse them

Developer classics · Dark theme

Pale Violet Night

Violet-grey background with pale blue-grey text, cornflower links and a purple accent.

Developer classics Dark theme Text contrast AAA 9.5:1

Preview

fieldnotes.example/tide-pools

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.

PoolDepthSeen
North ledge12 cmAnemone, limpets
Split rock30 cmShore crab
Read more Save Muted caption text

A sample page in Pale Violet Night's ten colours. Compare it live with the other themes.

Contrast in plain words

Body text is #d0d8e6 on #292d3e, a contrast of 9.5:1. That passes the stricter WCAG AAA level for body text (7:1).

Links come out at 5.9:1 and muted text at 4.8:1 against the background. The perceptual lightness gap between text and background is 0.58 on a scale from 0 to 1.

Use Pale Violet Night 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

The ten colours of the Pale Violet Night theme
Colour Hex Used for Copy
Background #292d3e The page behind everything
Surface #31364a Cards, panels and raised areas
Text #d0d8e6 Body text and headings
Muted text #9098c2 Captions and secondary text
Link #82aaff Links you have not opened
Visited link #85d0c9 Links you have opened
Accent #c792ea Buttons and highlights
Border #4c5374 Lines and outlines
Selection #714ab3 Behind text you select
Scrollbar #444a67 The scrollbar thumb

CSS variables

pale-violet-night.css
/* Pale Violet Night — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #292d3e;
  --dma-surface: #31364a;
  --dma-text: #d0d8e6;
  --dma-muted: #9098c2;
  --dma-link: #82aaff;
  --dma-visited: #85d0c9;
  --dma-accent: #c792ea;
  --dma-border: #4c5374;
  --dma-selection: #714ab3;
  --dma-scrollbar: #444a67;
}

Paste the block into your own stylesheet to use these colours, for example background: var(--dma-background).

Contrast figures

Contrast ratios for the Pale Violet Night theme
Pair Ratio WCAG
Body text text on background 9.5:1 AAA
Text on panels text on surface 8.3:1 AAA
Muted text muted on background 4.8:1 AA
Links link on background 5.9:1 AA
Visited links visited on background 7.7:1 AAA
Accent accent on background 5.7:1 AA

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

Pale Violet Night 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.
  • Evening and dim rooms Dark grey and slate pages with off-white text, never pure black or pure white. Some people find off-white on grey easier to read than white on black.

Credit and licence

The colours of Pale Violet Night are inspired by the open-source palette Palenight by Olaolu Olawuyi , published under the MIT licence. The name, the adjustments and the contrast checks are ours.

Full licence notices

Pale Violet Night as its card appears in the extension's gallery
The card for this theme in the extension's gallery.

Similar themes

The closest themes to Pale Violet Night by background, text and link colour.