PreviewingGo to this paletteOpen in generator
Code
/* Indigo Dark — colorset.net */
:root {
--color-1: #1A0F3D;
--color-2: #2D1B69;
--color-3: #3F2787;
--color-4: #5433A5;
--color-5: #6A3FC3;
--color-bg: #F7F5FF;
--color-surface: #EEEBFA;
--color-border: #D5D2E4;
--color-text: #1A0F3D;
--color-muted: #696781;
--color-primary: #6A3FC3;
--color-on-primary: #FFFFFF;
--color-accent: #2D1B69;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0D1D;
--color-surface: #191728;
--color-border: #2D2B40;
--color-text: #A6A0C3;
--color-muted: #847F9A;
--color-primary: #754CD1;
--color-on-primary: #FFFFFF;
--color-accent: #666095;
--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 #6A3FC3 | adjusted for contrast · from #1A0F3D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #6A3FC3 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #6A3FC3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #6A3FC3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.50:1 | AAA pass 4.5:1 | |
| Text on surface | 15.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.75:1 | AA pass 4.5:1 | |
| Label on accent | 14.26:1 | AAA pass 4.5:1 | |
| Primary on background | 6.25:1 | AA pass 3:1 | |
| Accent on background | 13.22:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #1A0F3D (Text 1) | #2D1B69 (Text 2) | #3F2787 (Text 3) | #5433A5 (Text 4) | #6A3FC3 (Text 5) |
|---|---|---|---|---|---|
| #1A0F3D | Same color | 1.25— | 1.57— | 2.03— | 2.64— |
| #2D1B69 | 1.25— | Same color | 1.26— | 1.63— | 2.11— |
| #3F2787 | 1.57— | 1.26— | Same color | 1.29— | 1.68— |
| #5433A5 | 2.03— | 1.63— | 1.29— | Same color | 1.30— |
| #6A3FC3 | 2.64— | 2.11— | 1.68— | 1.30— | Same color |
Shades
Shades and tints (50–950)
