#342178 is a deep, cool purple. On the Color Lab it reads clean and engineered, quietly premium. It reproduces cleanly in print.
Not just a swatch — here's how #342178 works with other colors. Named schemes with #342178 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 #342178 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 #342178 at work across the surfaces designers actually ship.
:root {
--color-base: #342178;
--color-base-rgb: 52 33 120;
--color-base-oklch: oklch(33.1% 0.140 286.0);
--color-50: #F5F3FC;
--color-100: #E4DEF7;
--color-200: #C9BFED;
--color-300: #A393DC;
--color-400: #7E6AC8;
--color-500: #5E48AD;
--color-600: #4D3D84;
--color-700: #3A305E;
--color-800: #29233E;
--color-900: #1A1726;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F3FC',
100: '#E4DEF7',
200: '#C9BFED',
300: '#A393DC',
400: '#7E6AC8',
500: '#5E48AD',
600: '#4D3D84',
700: '#3A305E',
800: '#29233E',
900: '#1A1726',
},
}
$base: #342178; $base-ink: #FFFFFF; $base-50: #F5F3FC; $base-100: #E4DEF7; $base-200: #C9BFED; $base-300: #A393DC; $base-400: #7E6AC8; $base-500: #5E48AD; $base-600: #4D3D84; $base-700: #3A305E; $base-800: #29233E; $base-900: #1A1726; $base-hover: #291A60; $base-subtle: #BCB2E1;
{
"color": {
"base": {
"value": "#342178",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F3FC",
"type": "color"
},
"100": {
"value": "#E4DEF7",
"type": "color"
},
"200": {
"value": "#C9BFED",
"type": "color"
},
"300": {
"value": "#A393DC",
"type": "color"
},
"400": {
"value": "#7E6AC8",
"type": "color"
},
"500": {
"value": "#5E48AD",
"type": "color"
},
"600": {
"value": "#4D3D84",
"type": "color"
},
"700": {
"value": "#3A305E",
"type": "color"
},
"800": {
"value": "#29233E",
"type": "color"
},
"900": {
"value": "#1A1726",
"type": "color"
}
}
}
}