#20165D 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.
Not just a swatch — here's how #20165D works with other colors. Named schemes with #20165D in its natural role, and a note on why the supporting colors balance it.
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.
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.
Midnight Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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.
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.
How #20165D 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.
Not a swatch to memorise — a color to build with. Here is #20165D at work across the surfaces designers actually ship.
:root {
--color-base: #20165D;
--color-base-rgb: 32 22 93;
--color-base-oklch: oklch(26.8% 0.119 281.0);
--color-50: #F4F2FD;
--color-100: #E1DDF8;
--color-200: #C4BDEF;
--color-300: #9A90E0;
--color-400: #7366CC;
--color-500: #5244B1;
--color-600: #453A87;
--color-700: #352E60;
--color-800: #26223F;
--color-900: #181627;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F4F2FD',
100: '#E1DDF8',
200: '#C4BDEF',
300: '#9A90E0',
400: '#7366CC',
500: '#5244B1',
600: '#453A87',
700: '#352E60',
800: '#26223F',
900: '#181627',
},
}
$base: #20165D; $base-ink: #FFFFFF; $base-50: #F4F2FD; $base-100: #E1DDF8; $base-200: #C4BDEF; $base-300: #9A90E0; $base-400: #7366CC; $base-500: #5244B1; $base-600: #453A87; $base-700: #352E60; $base-800: #26223F; $base-900: #181627; $base-hover: #1A124C; $base-subtle: #B0A8E0;
{
"color": {
"base": {
"value": "#20165D",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F2FD",
"type": "color"
},
"100": {
"value": "#E1DDF8",
"type": "color"
},
"200": {
"value": "#C4BDEF",
"type": "color"
},
"300": {
"value": "#9A90E0",
"type": "color"
},
"400": {
"value": "#7366CC",
"type": "color"
},
"500": {
"value": "#5244B1",
"type": "color"
},
"600": {
"value": "#453A87",
"type": "color"
},
"700": {
"value": "#352E60",
"type": "color"
},
"800": {
"value": "#26223F",
"type": "color"
},
"900": {
"value": "#181627",
"type": "color"
}
}
}
}