PreviewingGo to this paletteOpen in generator
Code
/* Indigo Deep — colorset.net */
:root {
--color-1: #4B0082;
--color-2: #483D8B;
--color-3: #6A5ACD;
--color-4: #7B68EE;
--color-5: #9370DB;
--color-bg: #F7F5FF;
--color-surface: #EEEBFA;
--color-border: #D6D2E4;
--color-text: #402A5E;
--color-muted: #6F667E;
--color-primary: #7562E7;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120B1C;
--color-surface: #1C1527;
--color-border: #31293F;
--color-text: #A9A1C3;
--color-muted: #837D97;
--color-primary: #7562E7;
--color-on-primary: #FFFFFF;
--color-accent: #8049C0;
--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 #9370DB | adjusted for contrast · from #4B0082 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #483D8B | adjusted for contrast · from #9370DB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7B68EE | adjusted for contrast · from #7B68EE |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #6A5ACD |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.37:1 | AAA pass 4.5:1 | |
| Text on surface | 10.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 12.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 12.00:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.33: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 | #4B0082 (Text 1) | #483D8B (Text 2) | #6A5ACD (Text 3) | #7B68EE (Text 4) | #9370DB (Text 5) |
|---|---|---|---|---|---|
| #4B0082 | Same color | 1.43— | 2.44— | 3.12AA Large | 3.44AA Large |
| #483D8B | 1.43— | Same color | 1.71— | 2.18— | 2.41— |
| #6A5ACD | 2.44— | 1.71— | Same color | 1.28— | 1.41— |
| #7B68EE | 3.12AA Large | 2.18— | 1.28— | Same color | 1.10— |
| #9370DB | 3.44AA Large | 2.41— | 1.41— | 1.10— | Same color |
Shades
Shades and tints (50–950)
