Export

Code

/* Purple Royal — colorset.net */
:root {
  --color-1: #2D1B69;
  --color-2: #4C1D95;
  --color-3: #5B21B6;
  --color-4: #7C3AED;
  --color-5: #8B5CF6;

  --color-bg: #F7F5FF;
  --color-surface: #EDEBFA;
  --color-border: #D5D2E4;
  --color-text: #2C2458;
  --color-muted: #686780;
  --color-primary: #7C3AED;
  --color-on-primary: #FFFFFF;
  --color-accent: #4C1D95;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E0D1E;
    --color-surface: #181729;
    --color-border: #2C2B41;
    --color-text: #A7A1C4;
    --color-muted: #84809A;
    --color-primary: #7C3AED;
    --color-on-primary: #FFFFFF;
    --color-accent: #655BAE;
    --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 #8B5CF6adjusted for contrast · from #2D1B69
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #2D1B69adjusted for contrast · from #8B5CF6
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #7C3AED
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.97:1AAA pass 4.5:1
Text on surface11.91:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent10.95:1AAA pass 4.5:1
Primary on background5.28:1AA pass 3:1
Accent on background10.15:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.80:1AAA pass 4.5:1
Text on surface7.15:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent5.74:1AA pass 4.5:1
Primary on background3.37:1AA Large pass 3:1
Accent on background3.34: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#2D1B69 (Text 1)#4C1D95 (Text 2)#5B21B6 (Text 3)#7C3AED (Text 4)#8B5CF6 (Text 5)
#2D1B69Same color1.30—1.59—2.50—3.37AA Large
#4C1D951.30—Same color1.22—1.92—2.59—
#5B21B61.59—1.22—Same color1.58—2.12—
#7C3AED2.50—1.92—1.58—Same color1.35—
#8B5CF63.37AA Large2.59—2.12—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2D1B69#4C1D95#5B21B6#7C3AED#8B5CF6

Variations

About Purple Royal

Purple Royal brings together a deep purple, two dark purples and two vivid purples (#2D1B69, #4C1D95, #5B21B6, #7C3AED, #8B5CF6) in a cool, purple-led scheme. All hues sit within 7° of each other, so deep purple #2D1B69 and its relatives form a cohesive monochromatic scheme. With lightness between 30% and 61% and #5B21B6 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.196, high for a palette, so the colors feel saturated and energetic; the most saturated color is #7C3AED. In light mode #F7F5FF becomes the background with #2C2458 text at 13.0:1, and #7C3AED takes the primary role. Try it for music and nightlife, premium products and focused single-product sites, letting vivid purple #7C3AED carry the key actions.

Purple Royal color palette: #2D1B69, #4C1D95, #5B21B6, #7C3AED, #8B5CF6
Share image for Purple Royal

Gradients in similar colors