PreviewingGo to this paletteOpen in generator
Code
/* Indigo Galaxy — colorset.net */
:root {
--color-1: #1C1F4A;
--color-2: #3F51B5;
--color-3: #4B0082;
--color-4: #5E35B1;
--color-5: #7C4DFF;
--color-bg: #F6F6FF;
--color-surface: #ECECFB;
--color-border: #D4D3E5;
--color-text: #1C1F4A;
--color-muted: #636881;
--color-primary: #7C4DFF;
--color-on-primary: #FFFFFF;
--color-accent: #4B0082;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0E1D;
--color-surface: #161828;
--color-border: #292C40;
--color-text: #A5A3C6;
--color-muted: #83819C;
--color-primary: #7C4DFF;
--color-on-primary: #FFFFFF;
--color-accent: #5B6394;
--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 #7C4DFF | adjusted for contrast · from #1C1F4A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #7C4DFF |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3F51B5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 13.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.81:1 | AA pass 4.5:1 | |
| Label on accent | 12.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 12.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.81:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 3.34: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 | #1C1F4A (Text 1) | #3F51B5 (Text 2) | #4B0082 (Text 3) | #5E35B1 (Text 4) | #7C4DFF (Text 5) |
|---|---|---|---|---|---|
| #1C1F4A | Same color | 2.27— | 1.21— | 1.95— | 3.25AA Large |
| #3F51B5 | 2.27— | Same color | 1.88— | 1.17— | 1.43— |
| #4B0082 | 1.21— | 1.88— | Same color | 1.62— | 2.69— |
| #5E35B1 | 1.95— | 1.17— | 1.62— | Same color | 1.67— |
| #7C4DFF | 3.25AA Large | 1.43— | 2.69— | 1.67— | Same color |
Shades
Shades and tints (50–950)
