PreviewingGo to this paletteOpen in generator
Code
/* Aubergine Silk — colorset.net */
:root {
--color-1: #0C0411;
--color-2: #1D0B24;
--color-3: #34193F;
--color-4: #89722F;
--color-5: #DAD4BF;
--color-bg: #F9F7F0;
--color-surface: #EFEDE7;
--color-border: #D8D5CB;
--color-text: #0C0411;
--color-muted: #665A6D;
--color-primary: #89722F;
--color-on-primary: #FFFFFF;
--color-accent: #34193F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0411;
--color-surface: #160C1B;
--color-border: #2B1F32;
--color-text: #DAD4BF;
--color-muted: #837D6A;
--color-primary: #89722F;
--color-on-primary: #FFFFFF;
--color-accent: #745681;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #DAD4BF | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #89722F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.82:1 | AAA pass 4.5:1 | |
| Text on surface | 17.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 6.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 15.48:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 14.44:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA 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.
| Background / Text | #0C0411 (Text 1) | #1D0B24 (Text 2) | #34193F (Text 3) | #89722F (Text 4) | #DAD4BF (Text 5) |
|---|---|---|---|---|---|
| #0C0411 | Same color | 1.08— | 1.30— | 4.33AA Large | 13.59AAA |
| #1D0B24 | 1.08— | Same color | 1.21— | 4.01AA Large | 12.57AAA |
| #34193F | 1.30— | 1.21— | Same color | 3.33AA Large | 10.43AAA |
| #89722F | 4.33AA Large | 4.01AA Large | 3.33AA Large | Same color | 3.14AA Large |
| #DAD4BF | 13.59AAA | 12.57AAA | 10.43AAA | 3.14AA Large | Same color |
Shades
Shades and tints (50–950)
