Export

Code

/* Night Dark — colorset.net */
:root {
  --color-1: #191970;
  --color-2: #000080;
  --color-3: #4B0082;
  --color-4: #2F2F4F;
  --color-5: #000000;

  --color-bg: #F8F5FF;
  --color-surface: #F0EBF9;
  --color-border: #D8D1E3;
  --color-text: #000000;
  --color-muted: #4A4A4A;
  --color-primary: #4B0082;
  --color-on-primary: #FFFFFF;
  --color-accent: #000080;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #9D91B2;
    --color-muted: #7A708A;
    --color-primary: #743DB3;
    --color-on-primary: #FFFFFF;
    --color-accent: #2452C6;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #2F2F4Ffrom palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5adjusted for contrast · from #2F2F4F
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #4B0082
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #4B0082
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background19.50:1AAA pass 4.5:1
Text on surface17.96:1AAA pass 4.5:1
Muted text on background8.23:1AAA pass 4.5:1
Label on primary12.95:1AAA pass 4.5:1
Label on accent16.01:1AAA pass 4.5:1
Primary on background12.02:1AAA pass 3:1
Accent on background14.86:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.13:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background4.51:1AA pass 4.5:1
Label on primary6.86:1AA pass 4.5:1
Label on accent6.78:1AA pass 4.5:1
Primary on background3.06:1AA Large pass 3:1
Accent on background3.10:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#191970 (Text 1)#000080 (Text 2)#4B0082 (Text 3)#2F2F4F (Text 4)#000000 (Text 5)
#191970Same color1.08—1.15—1.16—1.41—
#0000801.08—Same color1.24—1.25—1.31—
#4B00821.15—1.24—Same color1.01—1.62—
#2F2F4F1.16—1.25—1.01—Same color1.64—
#0000001.41—1.31—1.62—1.64—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#191970#000080#4B0082#2F2F4F#000000

Variations

About Night Dark

Five colors make up Night Dark, a cool blue-and-purple set: #191970, #000080, #4B0082, #2F2F4F, #000000. Its hues are neighbors on the color wheel (38° apart at most), so #191970 and #2F2F4F form a calm analogous harmony. With lightness between 0% and 34% and #191970 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.113, medium for a palette, so the colors are clear without being loud; the most saturated color is #000080. Text contrast reaches 19.5:1 in light mode and 7.1:1 in dark mode, with #4B0082 as primary and #000080 as accent. Its dark character, led by #4B0082, suits film and media, luxury products and gaming sites.

Night Dark color palette: #191970, #000080, #4B0082, #2F2F4F, #000000
Share image for Night Dark

Gradients in similar colors