Export

Code

/* Midnight Plum — colorset.net */
:root {
  --color-1: #2F1229;
  --color-2: #4A1D42;
  --color-3: #65285B;
  --color-4: #803374;
  --color-5: #9B3E8D;

  --color-bg: #FFF2FC;
  --color-surface: #F6E9F3;
  --color-border: #E0CFDC;
  --color-text: #2F1229;
  --color-muted: #7A6274;
  --color-primary: #9B3E8D;
  --color-on-primary: #FFFFFF;
  --color-accent: #4A1D42;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #2F1229;
    --color-surface: #3B1D34;
    --color-border: #4C3747;
    --color-text: #CBABC4;
    --color-muted: #9F879A;
    --color-primary: #AB4D9C;
    --color-on-primary: #FFFFFF;
    --color-accent: #8A6681;
    --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 #9B3E8Dfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #9B3E8D
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #9B3E8D
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #9B3E8D
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.62:1AAA pass 4.5:1
Text on surface14.42:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary6.06:1AA pass 4.5:1
Label on accent13.59:1AAA pass 4.5:1
Primary on background5.58:1AA pass 3:1
Accent on background12.53:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.20:1AAA pass 4.5:1
Text on surface7.20:1AAA pass 4.5:1
Muted text on background5.17:1AA pass 4.5:1
Label on primary4.91:1AA pass 4.5:1
Label on accent4.89:1AA pass 4.5:1
Primary on background3.45:1AA Large pass 3:1
Accent on background3.47: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#2F1229 (Text 1)#4A1D42 (Text 2)#65285B (Text 3)#803374 (Text 4)#9B3E8D (Text 5)
#2F1229Same color1.25—1.62—2.13—2.80—
#4A1D421.25—Same color1.30—1.71—2.24—
#65285B1.62—1.30—Same color1.32—1.73—
#8033742.13—1.71—1.32—Same color1.31—
#9B3E8D2.80—2.24—1.73—1.31—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2F1229#4A1D42#65285B#803374#9B3E8D

Variations

About Midnight Plum

Nearly all of the color weight in Midnight Plum sits in purple, which makes it a cool palette anchored by dark purple #65285B. With a hue spread of just 2°, it is effectively monochromatic: #2F1229, #4A1D42 and #65285B differ mostly in lightness. All five colors stay in a narrow dark band (24% to 52% lightness, #2F1229 to #9B3E8D), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.109, peaking at 0.157 in #9B3E8D); the colors are clear without being loud. Text contrast reaches 15.6:1 in light mode and 8.2:1 in dark mode, with #9B3E8D as primary and #4A1D42 as accent. Its dark and monochrome character, led by #9B3E8D, suits creative studios, beauty brands and minimal branding.

Midnight Plum color palette: #2F1229, #4A1D42, #65285B, #803374, #9B3E8D
Share image for Midnight Plum

Gradients in similar colors