PreviewingGo to this paletteOpen in generator
Code
/* Plum Midnight — colorset.net */
:root {
--color-1: #10050F;
--color-2: #220C21;
--color-3: #3B1A39;
--color-4: #B25785;
--color-5: #E3CDDA;
--color-bg: #FBF4F8;
--color-surface: #F2EBEF;
--color-border: #DCD1D7;
--color-text: #10050F;
--color-muted: #6B5B69;
--color-primary: #B25785;
--color-on-primary: #FFFFFF;
--color-accent: #220C21;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10050F;
--color-surface: #1A0E19;
--color-border: #30202F;
--color-text: #E3CDDA;
--color-muted: #8B7883;
--color-primary: #B25785;
--color-on-primary: #FFFFFF;
--color-accent: #6E5D6C;
--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 #E3CDDA | 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 2 | adjusted for contrast · from #B25785 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.46:1 | AAA pass 4.5:1 | |
| Text on surface | 17.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.83:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 18.38:1 | AAA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 16.98:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.34:1 | AAA pass 4.5:1 | |
| Text on surface | 12.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.87:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.10:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #10050F (Text 1) | #220C21 (Text 2) | #3B1A39 (Text 3) | #B25785 (Text 4) | #E3CDDA (Text 5) |
|---|---|---|---|---|---|
| #10050F | Same color | 1.09— | 1.33— | 4.37AA Large | 13.34AAA |
| #220C21 | 1.09— | Same color | 1.22— | 4.02AA Large | 12.26AAA |
| #3B1A39 | 1.33— | 1.22— | Same color | 3.30AA Large | 10.06AAA |
| #B25785 | 4.37AA Large | 4.02AA Large | 3.30AA Large | Same color | 3.05AA Large |
| #E3CDDA | 13.34AAA | 12.26AAA | 10.06AAA | 3.05AA Large | Same color |
Shades
Shades and tints (50–950)
