Export

Code

/* Midnight Orchid — colorset.net */
:root {
  --color-1: #301934;
  --color-2: #4B1352;
  --color-3: #660D70;
  --color-4: #81078E;
  --color-5: #9C01AC;

  --color-bg: #FEF3FF;
  --color-surface: #F4E9F5;
  --color-border: #DDD0DF;
  --color-text: #301934;
  --color-muted: #77647A;
  --color-primary: #9C01AC;
  --color-on-primary: #FFFFFF;
  --color-accent: #4B1352;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #301934;
    --color-surface: #3C2440;
    --color-border: #4E3D51;
    --color-text: #CDB3D0;
    --color-muted: #A28DA4;
    --color-primary: #BD39CD;
    --color-on-primary: #FFFFFF;
    --color-accent: #8A6E8E;
    --color-on-accent: #000000;
  }
}

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 #9C01ACfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #9C01AC
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #9C01AC
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #9C01AC
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.82:1AAA pass 4.5:1
Text on surface13.56:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary6.97:1AA pass 4.5:1
Label on accent13.87:1AAA pass 4.5:1
Primary on background6.46:1AA pass 3:1
Accent on background12.86:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.33:1AAA pass 4.5:1
Text on surface7.21:1AAA pass 4.5:1
Muted text on background5.24:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent4.70:1AA pass 4.5:1
Primary on background3.52:1AA Large pass 3:1
Accent on background3.58: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#301934 (Text 1)#4B1352 (Text 2)#660D70 (Text 3)#81078E (Text 4)#9C01AC (Text 5)
#301934Same color1.15—1.41—1.79—2.29—
#4B13521.15—Same color1.23—1.55—1.99—
#660D701.41—1.23—Same color1.27—1.62—
#81078E1.79—1.55—1.27—Same color1.28—
#9C01AC2.29—1.99—1.62—1.28—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#301934#4B1352#660D70#81078E#9C01AC

Variations

About Midnight Orchid

Midnight Orchid brings together two deep purples, two dark purples and a vivid purple (#301934, #4B1352, #660D70, #81078E, #9C01AC) in a cool, purple-led scheme. All hues sit within 2° of each other, so deep purple #301934 and its relatives form a cohesive monochromatic scheme. From #301934 to #9C01AC the colors share a similar dark value (lightness 26%–50%), which suits fills and illustration more than body text. Average chroma is 0.155, medium for a palette, so the colors are clear without being loud; the most saturated color is #9C01AC. In light mode #FEF3FF becomes the background with #301934 text at 14.8:1, and #9C01AC takes the primary role. Try it for beauty brands, creative studios and gaming sites, letting vivid purple #9C01AC carry the key actions.

Midnight Orchid color palette: #301934, #4B1352, #660D70, #81078E, #9C01AC
Share image for Midnight Orchid

Gradients in similar colors