Midnight Periwinkle

Export

Code

/* Midnight Periwinkle — colorset.net */
:root {
  --color-1: #191970;
  --color-2: #3A3A8B;
  --color-3: #5B5BA6;
  --color-4: #7C7CC1;
  --color-5: #9D9DDC;

  --color-bg: #F5F6FF;
  --color-surface: #EBECFB;
  --color-border: #D2D3E5;
  --color-text: #1D2557;
  --color-muted: #636A83;
  --color-primary: #5B5BA6;
  --color-on-primary: #FFFFFF;
  --color-accent: #191970;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A0E1F;
    --color-surface: #14182A;
    --color-border: #272C42;
    --color-text: #A0A1C3;
    --color-muted: #7F809B;
    --color-primary: #5E5EA9;
    --color-on-primary: #FFFFFF;
    --color-accent: #9093D7;
    --color-on-accent: #0A0E1F;
  }
}

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 #9D9DDCadjusted for contrast · from #191970
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #191970adjusted for contrast · from #9D9DDC
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #5B5BA6
On primaryderivedderived
Accentfrom palette · color 1adjusted for contrast · from #9D9DDC
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.41:1AAA pass 4.5:1
Text on surface12.32:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary6.01:1AA pass 4.5:1
Label on accent14.85:1AAA pass 4.5:1
Primary on background5.59:1AA pass 3:1
Accent on background13.79:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.65:1AAA pass 4.5:1
Text on surface7.02:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent6.70:1AA pass 4.5:1
Primary on background3.33:1AA Large pass 3:1
Accent on background6.70:1AA 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)#3A3A8B (Text 2)#5B5BA6 (Text 3)#7C7CC1 (Text 4)#9D9DDC (Text 5)
#191970Same color1.53—2.47—3.90AA Large5.86AA
#3A3A8B1.53—Same color1.62—2.55—3.84AA Large
#5B5BA62.47—1.62—Same color1.58—2.37—
#7C7CC13.90AA Large2.55—1.58—Same color1.50—
#9D9DDC5.86AA3.84AA Large2.37—1.50—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#191970#3A3A8B#5B5BA6#7C7CC1#9D9DDC

Variations

About Midnight Periwinkle

Midnight Periwinkle brings together a deep blue, a dark purple and three purples (#191970, #3A3A8B, #5B5BA6, #7C7CC1, #9D9DDC) in a cool, purple-led scheme. All hues sit within 11° of each other, so deep blue #191970 and its relatives form a cohesive monochromatic scheme. With lightness between 29% and 72% and #5B5BA6 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.117, medium for a palette, so the colors are clear without being loud; the most saturated color is #191970. Text contrast reaches 13.4:1 in light mode and 7.7:1 in dark mode, with #5B5BA6 as primary and #191970 as accent. Its monochrome character, led by #5B5BA6, suits beauty brands, creative studios and premium products.

Midnight Periwinkle color palette: #191970, #3A3A8B, #5B5BA6, #7C7CC1, #9D9DDC
Share image for Midnight Periwinkle

Gradients in similar colors