Dark Jewel

Export

Code

/* Dark Jewel — colorset.net */
:root {
  --color-1: #8B0000;
  --color-2: #000080;
  --color-3: #228B22;
  --color-4: #FFD700;
  --color-5: #8B008B;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #0F2352;
  --color-muted: #5F6B83;
  --color-primary: #8B008B;
  --color-on-primary: #FFFFFF;
  --color-accent: #1D881E;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #11192A;
    --color-border: #242E42;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #A92FA7;
    --color-on-primary: #FFFFFF;
    --color-accent: #1D881E;
    --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 #FFD700adjusted for contrast · from #000080
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #000080adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #8B008B
On primaryderivedderived
Accentadjusted for contrast · from #228B22adjusted for contrast · from #228B22
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.16:1AAA pass 4.5:1
Text on surface13.04:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary8.50:1AAA pass 4.5:1
Label on accent4.57:1AA pass 4.5:1
Primary on background7.92:1AAA pass 3:1
Accent on background4.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.65:1AAA pass 4.5:1
Text on surface12.53:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent4.57:1AA pass 4.5:1
Primary on background3.32:1AA Large pass 3:1
Accent on background4.18: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#8B0000 (Text 1)#000080 (Text 2)#228B22 (Text 3)#FFD700 (Text 4)#8B008B (Text 5)
#8B0000Same color1.60—2.28—7.14AAA1.18—
#0000801.60—Same color3.65AA Large11.41AAA1.88—
#228B222.28—3.65AA LargeSame color3.13AA Large1.94—
#FFD7007.14AAA11.41AAA3.13AA LargeSame color6.06AA
#8B008B1.18—1.88—1.94—6.06AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8B0000#000080#228B22#FFD700#8B008B

Variations

About Dark Jewel

Dark Jewel is a balanced multi-color palette of 5 colors that runs from pale yellow #FFD700 to deep blue #000080. A 175° hue spread puts green against dark purple #8B008B, close to a complementary contrast. Lightness runs from 27% to 89% (OKLCH), with #8B008B in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is high (mean OKLCH chroma 0.182, peaking at 0.205 in #8B008B); the colors feel saturated and energetic. As a UI theme it uses #8B008B for primary actions and #1D881E as the accent; dark mode sits on #080F1F with #E4DAB5 text (13.7:1). Its vivid and colorful character, led by #8B008B, suits educational content, infographics and kids’ apps.

Dark Jewel color palette: #8B0000, #000080, #228B22, #FFD700, #8B008B
Share image for Dark Jewel

Gradients in similar colors