Nearest named color: Dark Slate Blue
#402F72
#402F72
Nearest named
Dark Slate Blue
Family
Blue
Lightness
36.2%
Chroma
0.111
Hue angle
291.6°
Temperature
Cool
Contrast on white
11.24:1 · AAA
Contrast on black
1.65:1 · Fail
Web-safe
#333366
CSS oklch()
36% 0.11 292

#402F72 is a deep, cool purple. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.

Palettes built on #402F72

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

Luxury Packaging Feature · 5 colors

Dark Slate 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

Dark Slate 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 Dark Slate Blue.

Coastal Morning Lead · 5 colors

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

Berry & Cream Lead · 5 colors

Dark Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.

Minimal Editorial Surface · 5 colors

Dark Slate 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 Dark Slate Blue carrying the quiet middle.

Build a working theme in the generator →

Color Lab

How #402F72 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 34/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 31/100
Low
Firm and assertive — carries weight and contrast.
Depth 64/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 45/100
Moderate
A faint retro warmth without tipping into sepia.
Luxury 70/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 43/100
Moderate
Recognisable but shares space with nearby hues.
UI accent fit 59/100
Moderate
Workable accent with care around contrast.
Surface fit 28/100
Low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 85/100
Very high
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #402F72

For UI
For branding
For interior
For fashion

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 11.2:1. Use
Subtle surface Use #D7D2E7 for cards and hover fills. Tint 80
Avoid beside #572F74 — 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 #402F72 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: #402F72;
  --color-base-rgb: 64 47 114;
  --color-base-oklch: oklch(36.2% 0.111 291.6);
  --color-50: #F6F4FB;
  --color-100: #E6E2F4;
  --color-200: #CEC5E7;
  --color-300: #AA9CD3;
  --color-400: #8876BC;
  --color-500: #68559F;
  --color-600: #54477B;
  --color-700: #3F3658;
  --color-800: #2B263B;
  --color-900: #1C1924;
  --color-on-base: #FFFFFF;
}