In der VorschauZu dieser PaletteIm Generator öffnen
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;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #8E24AA |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FFB300 | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,06:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,12:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,92:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,04:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,26:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,19:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,05:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,06:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,37:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,37:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,43:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,18:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,36:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,18:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #1B0F2B (Text 1) | #8E24AA (Text 2) | #00897B (Text 3) | #FFB300 (Text 4) | #F5EEF8 (Text 5) |
|---|---|---|---|---|---|
| #1B0F2B | Gleiche Farbe | 2,59— | 4,23AA groß | 10,18AAA | 16,06AAA |
| #8E24AA | 2,59— | Gleiche Farbe | 1,63— | 3,92AA groß | 6,19AA |
| #00897B | 4,23AA groß | 1,63— | Gleiche Farbe | 2,41— | 3,80AA groß |
| #FFB300 | 10,18AAA | 3,92AA groß | 2,41— | Gleiche Farbe | 1,58— |
| #F5EEF8 | 16,06AAA | 6,19AA | 3,80AA groß | 1,58— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
