Export

Code

/* Royal Jewel Box — colorset.net */
:root {
  --color-1: #1B0F2B;
  --color-2: #8E24AA;
  --color-3: #00897B;
  --color-4: #FFB300;
  --color-5: #F5EEF8;

  --color-bg: #F5EEF8;
  --color-surface: #FBF6FC;
  --color-border: #DED4E1;
  --color-text: #1B0F2B;
  --color-muted: #6C647C;
  --color-primary: #8E24AA;
  --color-on-primary: #FFFFFF;
  --color-accent: #B77F00;
  --color-on-accent: #1B0F2B;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1B0F2B;
    --color-surface: #261A37;
    --color-border: #393147;
    --color-text: #F5EEF8;
    --color-muted: #908992;
    --color-primary: #A13ABE;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFB300;
    --color-on-accent: #1B0F2B;
  }
}

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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #8E24AA
On primaryderivedderived
Accentadjusted for contrast · from #FFB300from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.06:1AAA pass 4.5:1
Text on surface17.12:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary7.04:1AAA pass 4.5:1
Label on accent5.26:1AA pass 4.5:1
Primary on background6.19:1AA pass 3:1
Accent on background3.05:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.06:1AAA pass 4.5:1
Text on surface14.37:1AAA pass 4.5:1
Muted text on background5.37:1AA pass 4.5:1
Label on primary5.43:1AA pass 4.5:1
Label on accent10.18:1AAA pass 4.5:1
Primary on background3.36:1AA Large pass 3:1
Accent on background10.18:1AAA 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#1B0F2B (Text 1)#8E24AA (Text 2)#00897B (Text 3)#FFB300 (Text 4)#F5EEF8 (Text 5)
#1B0F2BSame color2.59—4.23AA Large10.18AAA16.06AAA
#8E24AA2.59—Same color1.63—3.92AA Large6.19AA
#00897B4.23AA Large1.63—Same color2.41—3.80AA Large
#FFB30010.18AAA3.92AA Large2.41—Same color1.58—
#F5EEF816.06AAA6.19AA3.80AA Large1.58—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1B0F2B#8E24AA#00897B#FFB300#F5EEF8

Variations

About Royal Jewel Box

Saturated gems tumbling out of a velvet box. No single hue dominates Royal Jewel Box: purple carries about 46% of the color weight, shared with yellow and teal, and teal #00897B sits in the middle of the range. The hues range across 137° of the wheel, pairing deep purple #1B0F2B with light yellow for lively contrast. Lightness runs from 20% to 96% (OKLCH), with #00897B in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is medium (mean OKLCH chroma 0.110, peaking at 0.208 in #8E24AA); the colors are clear without being loud. Text contrast reaches 16.1:1 in light mode and 16.1:1 in dark mode, with #8E24AA as primary and #B77F00 as accent. With #8E24AA leading, good fits include data visualization, brand systems with many sub-brands and kids’ apps.

Royal Jewel Box color palette: #1B0F2B, #8E24AA, #00897B, #FFB300, #F5EEF8
Share image for Royal Jewel Box

Gradients in similar colors