Nearest named color: Midnight Blue
#240B60
#240B60
Nearest named
Midnight Blue
Family
Purple
Lightness
26.0%
Chroma
0.134
Hue angle
285.8°
Temperature
Cool
Contrast on white
16.26:1 · AAA
Contrast on black
1.14:1 · Fail
Web-safe
#330066
CSS oklch()
26% 0.13 286

#240B60 is a deep, cool purple. On the Color Lab it reads clean and engineered, quietly premium. It is too dark to lead as a primary accent and reproduces cleanly in print.

Palettes built on #240B60

Not just a swatch — here's how #240B60 works with other colors. Named schemes with #240B60 in its natural role, and a note on why the supporting colors balance it.

Luxury Packaging Feature · 5 colors

Midnight Blue carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.

Moody Editorial Color · 5 colors

Midnight Blue adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Midnight Blue.

Coastal Morning Lead · 5 colors

Midnight Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.

Vintage Leather Lead · 5 colors

Midnight Blue plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.

Minimal Editorial Surface · 5 colors

Midnight Blue is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Midnight Blue carrying the quiet middle.

Build a working theme in the generator →

Color Lab

How #240B60 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.

Warmth 28/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 22/100
Low
Firm and assertive — carries weight and contrast.
Depth 76/100
High
Deep and grounding — anchors a layout, strong dark-mode base.
Naturalness 0/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 29/100
Low
A faint retro warmth without tipping into sepia.
Luxury 76/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 52/100
Moderate
Recognisable but shares space with nearby hues.
UI accent fit 28/100
Low
Weak as an action color — too pale, too dark or too muted to signal.
Surface fit 27/100
Low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 81/100
Very high
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #240B60

For UI
For branding
For interior
For fashion
People also use #240B60 with

UI roles & guardrails

Primary action Safe as a filled button with white label. AAA
Body text Passes on white at 16px and above. Pass
Large display Fine for headings 24px+ on white. Pass
Background Pair with white text at 16.3:1. Use
Subtle surface Use #CEC0EE for cards and hover fills. Tint 80
Avoid beside #410B60 — the hue gap is too small to read as intentional. Clash

In real applications

Not a swatch to memorise — a color to build with. Here is #240B60 at work across the surfaces designers actually ship.

Website / UI
Northwind Sign up
Build faster.
A working theme, generated in seconds.
Dashboard
Revenue
$48.2k ▲ 12%
Brand
AVELINE
Studio
Poster
Nov 14 · 8PM
NIGHT
MARKET
Packaging
BLOOM
Botanical Wash
250 ml
Interior

Scales

ShadesBase darkened in 10% steps
TintsBase lifted toward white
TonesSaturation removed, lightness held
Monochromatic scaleDesign-system ready, 50–900

Every model

Export

:root {
  --color-base: #240B60;
  --color-base-rgb: 36 11 96;
  --color-base-oklch: oklch(26.0% 0.134 285.8);
  --color-50: #F5F1FE;
  --color-100: #E4DAFC;
  --color-200: #C9B6F6;
  --color-300: #A385EB;
  --color-400: #7F58DA;
  --color-500: #5F35C0;
  --color-600: #4D3092;
  --color-700: #3B2867;
  --color-800: #291D43;
  --color-900: #1A1429;
  --color-on-base: #FFFFFF;
}