#20117E is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It sits well as a supporting tone.
Not just a swatch — here's how #20117E works with other colors. Named schemes with #20117E 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 #20117E 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 #20117E at work across the surfaces designers actually ship.
:root {
--color-base: #20117E;
--color-base-rgb: 32 17 126;
--color-base-oklch: oklch(29.9% 0.167 275.6);
--color-50: #F3F1FE;
--color-100: #DFDAFB;
--color-200: #C0B7F5;
--color-300: #9487E9;
--color-400: #6B5AD8;
--color-500: #4937BD;
--color-600: #3E3290;
--color-700: #312966;
--color-800: #231E43;
--color-900: #171429;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F3F1FE',
100: '#DFDAFB',
200: '#C0B7F5',
300: '#9487E9',
400: '#6B5AD8',
500: '#4937BD',
600: '#3E3290',
700: '#312966',
800: '#231E43',
900: '#171429',
},
}
$base: #20117E; $base-ink: #FFFFFF; $base-50: #F3F1FE; $base-100: #DFDAFB; $base-200: #C0B7F5; $base-300: #9487E9; $base-400: #6B5AD8; $base-500: #4937BD; $base-600: #3E3290; $base-700: #312966; $base-800: #231E43; $base-900: #171429; $base-hover: #190E65; $base-subtle: #B1A8E8;
{
"color": {
"base": {
"value": "#20117E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FE",
"type": "color"
},
"100": {
"value": "#DFDAFB",
"type": "color"
},
"200": {
"value": "#C0B7F5",
"type": "color"
},
"300": {
"value": "#9487E9",
"type": "color"
},
"400": {
"value": "#6B5AD8",
"type": "color"
},
"500": {
"value": "#4937BD",
"type": "color"
},
"600": {
"value": "#3E3290",
"type": "color"
},
"700": {
"value": "#312966",
"type": "color"
},
"800": {
"value": "#231E43",
"type": "color"
},
"900": {
"value": "#171429",
"type": "color"
}
}
}
}