PreviewingGo to this paletteOpen in generator
Code
/* Regal Tapestry — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #000080;
--color-3: #DAA520;
--color-4: #CD853F;
--color-5: #F5F5DC;
--color-bg: #F5F5DC;
--color-surface: #FBFCED;
--color-border: #DDDCC0;
--color-text: #0F2352;
--color-muted: #636F87;
--color-primary: #4B0082;
--color-on-primary: #FFFFFF;
--color-accent: #B28400;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #F5F5DC;
--color-muted: #8B8B74;
--color-primary: #8049C0;
--color-on-primary: #FFFFFF;
--color-accent: #DAA520;
--color-on-accent: #080F1F;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 5 | adjusted for contrast · from #000080 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #000080 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | adjusted for contrast · from #4B0082 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD853F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.73:1 | AAA pass 4.5:1 | |
| Text on surface | 14.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 12.95:1 | AAA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 11.70:1 | AAA pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.28:1 | AAA pass 4.5:1 | |
| Text on surface | 15.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 8.54:1 | AAA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 8.54:1 | AAA 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.
| Background / Text | #4B0082 (Text 1) | #000080 (Text 2) | #DAA520 (Text 3) | #CD853F (Text 4) | #F5F5DC (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Same color | 1.24— | 5.79AA | 4.33AA Large | 11.70AAA |
| #000080 | 1.24— | Same color | 7.15AAA | 5.35AA | 14.47AAA |
| #DAA520 | 5.79AA | 7.15AAA | Same color | 1.34— | 2.02— |
| #CD853F | 4.33AA Large | 5.35AA | 1.34— | Same color | 2.70— |
| #F5F5DC | 11.70AAA | 14.47AAA | 2.02— | 2.70— | Same color |
Shades
Shades and tints (50–950)
