We're live on Product Hunt!Support us
ColorArchive

A curated color library with 5,446 algorithmically generated colors. Browse, search, save favorites, and export palette tokens — no account required.

CollectionsFamiliesBrandsRegionsJournalNotesGuidesFree ResourcesEmbed widgetConvertColorblindAboutSupportUpdatesiOS app
Ready for static export
Privacy·Terms·Refunds·Cookies·Commerce Disclosure
colorarchive.org · © 2026 ColorArchive
Skip to content
ColorArchive
ProLog in
ArchiveAll ColorsCollections
Collection detail

Midnight Cobalt + Violet

Check these colors together: contrast, harmony, color-blind view →Tap a color to copy its HEX

No two colors here reach 4.5:1 for body text. Set text in white or black instead — each swatch's HEX is drawn in whichever reads better.

The palette that defines contemporary AI and developer tool aesthetics: deep cobalt night, electric violet intelligence, and ink ground. This combination emerged from the intersection of dark mode design standards and the violet-as-AI-color convention that has been building since 2020. The darkness creates depth and focus; the violet signals intelligence and forward motion; the cobalt provides the familiar tech trust signal in its most refined, nocturnal form. Ideal for AI products, developer dashboards, and technology brands competing on sophistication rather than approachability.

The AI-and-developer-tool night palette: deep cobalt, electric violet, and ink. Emerged from the convergence of dark mode standards and violet-as-AI conventions. Sophistication over approachability.

TechnologyAIDark ModeVioletCobalt
Why this set works

Deep cobalt and electric violet — the night-mode palette for AI interfaces, developer tools, and next-generation tech brands.

AI product interface design
Developer tool brand identity
Technology SaaS dark mode
Prompt words
AI interface dark mode palettedeveloper tool dark color schemetechnology brand cobalt violet palette
Export ready
1. Cobalt Nocturne Soft #222D44
2. Violet Nocturne Clear #21174F
3. Indigo Ink Muted #1D1F2A
4. Iris Dusk Clear #282886
5. Cobalt Shadow Vivid #13367C
6. Violet Shadow Soft #372F60
:root {
  --midnight-cobalt-violet-1: #222D44;
  --midnight-cobalt-violet-2: #21174F;
  --midnight-cobalt-violet-3: #1D1F2A;
  --midnight-cobalt-violet-4: #282886;
  --midnight-cobalt-violet-5: #13367C;
  --midnight-cobalt-violet-6: #372F60;
}
Dark mode pairs
#222D44
#CED5E3
#21174F
#CDC7EB
#1D1F2A
#E2E3E9
#282886
#6666C6
#13367C
#A0B8E9
#372F60
#B9B3D5
WCAG contrast audit

WCAG contrast ratios for all palette color pairs against white and black text.

#222D44
13.8:1 AAA
1.5:1 Fail
#21174F
16.2:1 AAA
1.3:1 Fail
#1D1F2A
16.4:1 AAA
1.3:1 Fail
#282886
12.1:1 AAA
1.7:1 Fail
#13367C
11.4:1 AAA
1.8:1 Fail
#372F60
12.1:1 AAA
1.7:1 Fail

Color-on-color pairs:

+
1.2:1 Fail
+
1.2:1 Fail
+
1.1:1 Fail
+
1.2:1 Fail
+
1.1:1 Fail
+
1:1 Fail
+
1.3:1 Fail
+
1.4:1 Fail
+
1.3:1 Fail
+
1.4:1 Fail
+
1.4:1 Fail
+
1.4:1 Fail
+
1.1:1 Fail
+
1:1 Fail
+
1.1:1 Fail

Palette

Each swatch links back to its individual archive detail page.

Back to collections
1
Cobalt Nocturne Soft
#222D44
Blue · hsl(220, 34%, 20%)
2
Violet Nocturne Clear
#21174F
Purple · hsl(250, 54%, 20%)
3
Indigo Ink Muted
#1D1F2A
Blue · hsl(230, 18%, 14%)
4
Iris Dusk Clear
#282886
Blue · hsl(240, 54%, 34%)
5
Cobalt Shadow Vivid
#13367C
Blue · hsl(220, 74%, 28%)
6
Violet Shadow Soft
#372F60
Purple · hsl(250, 34%, 28%)

More collections like this

Browse collections →
  • Tech Brand Navy
  • AI Intelligence Violet
  • 2026 Cobalt Confidence
  • Midnight Forge
Go further
Unlock Pro
Pro removes the daily export cap, in every token format.
Learn about Pro
Take this palette further

Ready-made tokens for Midnight Cobalt + Violet

Copy the HEX, CSS and Tailwind on this page any time. The ZIP and dark-mode tokens count toward the free 3 exports a day (10 when signed in); Pro removes that cap on every export, including Figma tokens and Procreate swatches in the palette builder.

Upgrade to ProBrowse collections
Upgrade path

From collection to Pro

This collection proves the taste and color direction. Pro removes the daily export cap on every token format, so the palette can move from reference to implementation without rationing.

LayerWhat you have hereWhat Pro adds
ScopeOne curated palette of 6 colors.The same palettes, with no daily export cap anywhere on the site.
OutputHEX, CSS and Tailwind to copy any time. The ZIP and dark-mode tokens count toward the site's free exports: 3 a day, 10 when signed in.No daily limit on any export: this ZIP (CSS, Tailwind, JSON, SCSS), the dark-mode tokens, and Figma tokens and Procreate swatches in the palette builder.
Use caseDirection finding, inspiration, and public proof.Real project handoff, implementation, and reusable production assets.