Export

Code

/* Midnight Iris — colorset.net */
:root {
  --color-1: #0F0F23;
  --color-2: #191970;
  --color-3: #000080;
  --color-4: #483D8B;
  --color-5: #6A5ACD;

  --color-bg: #F6F6FF;
  --color-surface: #ECECFB;
  --color-border: #D3D3E5;
  --color-text: #0F0F23;
  --color-muted: #63657E;
  --color-primary: #6A5ACD;
  --color-on-primary: #FFFFFF;
  --color-accent: #000080;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F23;
    --color-surface: #19192E;
    --color-border: #2D2E44;
    --color-text: #A5A5C8;
    --color-muted: #81819B;
    --color-primary: #6A5ACD;
    --color-on-primary: #FFFFFF;
    --color-accent: #656780;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #6A5ACDfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #6A5ACD
Muted textderivedderived
Primaryfrom palette · color 5from palette · color 5
On primaryderivedderived
Accentfrom palette · color 3adjusted for contrast · from #6A5ACD
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.56:1AAA pass 4.5:1
Text on surface16.14:1AAA pass 4.5:1
Muted text on background5.29:1AA pass 4.5:1
Label on primary5.31:1AA pass 4.5:1
Label on accent16.01:1AAA pass 4.5:1
Primary on background4.94:1AA pass 3:1
Accent on background14.90:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.92:1AAA pass 4.5:1
Text on surface7.23:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.31:1AA pass 4.5:1
Label on accent5.52:1AA pass 4.5:1
Primary on background3.56:1AA Large pass 3:1
Accent on background3.42:1AA 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.

Every color on every color
Background / Text#0F0F23 (Text 1)#191970 (Text 2)#000080 (Text 3)#483D8B (Text 4)#6A5ACD (Text 5)
#0F0F23Same color1.27—1.18—2.08—3.56AA Large
#1919701.27—Same color1.08—1.64—2.80—
#0000801.18—1.08—Same color1.77—3.02AA Large
#483D8B2.08—1.64—1.77—Same color1.71—
#6A5ACD3.56AA Large2.80—3.02AA Large1.71—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0F0F23#191970#000080#483D8B#6A5ACD

Variations

About Midnight Iris

Five colors make up Midnight Iris, a cool purple-and-blue set: #0F0F23, #191970, #000080, #483D8B, #6A5ACD. All hues sit within 22° of each other, so deep purple #0F0F23 and its relatives form a cohesive monochromatic scheme. With lightness between 18% and 54% and #191970 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.134, medium for a palette, so the colors are clear without being loud; the most saturated color is #000080. In light mode #F6F6FF becomes the background with #0F0F23 text at 17.6:1, and #6A5ACD takes the primary role. Try it for brand systems with many sub-brands, marketing pages and data visualization, letting vivid purple #6A5ACD carry the key actions.

Midnight Iris color palette: #0F0F23, #191970, #000080, #483D8B, #6A5ACD
Share image for Midnight Iris

Gradients in similar colors