Nightshade Violet

Export

Code

/* Nightshade Violet — colorset.net */
:root {
  --color-1: #191970;
  --color-2: #4B0082;
  --color-3: #6A5ACD;
  --color-4: #9370DB;
  --color-5: #BA55D3;

  --color-bg: #F7F5FF;
  --color-surface: #EEEBFA;
  --color-border: #D6D2E4;
  --color-text: #1D2557;
  --color-muted: #636A83;
  --color-primary: #AD48C6;
  --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: #A9A1C3;
    --color-muted: #867F9A;
    --color-primary: #AD48C6;
    --color-on-primary: #FFFFFF;
    --color-accent: #4E5FBA;
    --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 #9370DBadjusted for contrast · from #191970
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #191970adjusted for contrast · from #9370DB
Muted textderivedderived
Primaryadjusted for contrast · from #BA55D3adjusted for contrast · from #BA55D3
On primaryderivedderived
Accentfrom palette · color 1adjusted for contrast · from #6A5ACD
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.38:1AAA pass 4.5:1
Text on surface12.31:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.65:1AA pass 4.5:1
Label on accent14.85:1AAA pass 4.5:1
Primary on background4.31:1AA Large pass 3:1
Accent on background13.76:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.83:1AAA pass 4.5:1
Text on surface7.18:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.65:1AA pass 4.5:1
Label on accent5.72:1AA pass 4.5:1
Primary on background4.13:1AA Large pass 3:1
Accent on background3.35: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)#4B0082 (Text 2)#6A5ACD (Text 3)#9370DB (Text 4)#BA55D3 (Text 5)
#191970Same color1.15—2.80—3.95AA Large3.77AA Large
#4B00821.15—Same color2.44—3.44AA Large3.29AA Large
#6A5ACD2.80—2.44—Same color1.41—1.35—
#9370DB3.95AA Large3.44AA Large1.41—Same color1.05—
#BA55D33.77AA Large3.29AA Large1.35—1.05—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#191970#4B0082#6A5ACD#9370DB#BA55D3

Variations

About Nightshade Violet

About 82% of the color weight in Nightshade Violet sits in purple, which makes it a cool palette anchored by vivid purple #6A5ACD. The 5 chromatic colors span 46° of hue, close enough for deep blue and vivid purple to read as one family. Lightness spans 29% (#191970) to 63% (#9370DB), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.171, peaking at 0.202 in #BA55D3); the colors feel saturated and energetic. In light mode #F7F5FF becomes the background with #1D2557 text at 13.4:1, and #AD48C6 takes the primary role. Its vivid character, led by #BA55D3, suits creative studios, beauty brands and music and nightlife.

Nightshade Violet color palette: #191970, #4B0082, #6A5ACD, #9370DB, #BA55D3
Share image for Nightshade Violet

Gradients in similar colors