#312768 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 #312768 works with other colors. Named schemes with #312768 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 #312768 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 #312768 at work across the surfaces designers actually ship.
:root {
--color-base: #312768;
--color-base-rgb: 49 39 104;
--color-base-oklch: oklch(32.4% 0.109 285.6);
--color-50: #F5F4FB;
--color-100: #E4E1F4;
--color-200: #C9C4E8;
--color-300: #A39BD5;
--color-400: #7F74BE;
--color-500: #5F53A2;
--color-600: #4D457D;
--color-700: #3B355A;
--color-800: #29263B;
--color-900: #1A1925;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F4FB',
100: '#E4E1F4',
200: '#C9C4E8',
300: '#A39BD5',
400: '#7F74BE',
500: '#5F53A2',
600: '#4D457D',
700: '#3B355A',
800: '#29263B',
900: '#1A1925',
},
}
$base: #312768; $base-ink: #FFFFFF; $base-50: #F5F4FB; $base-100: #E4E1F4; $base-200: #C9C4E8; $base-300: #A39BD5; $base-400: #7F74BE; $base-500: #5F53A2; $base-600: #4D457D; $base-700: #3B355A; $base-800: #29263B; $base-900: #1A1925; $base-hover: #271F53; $base-subtle: #BBB5DB;
{
"color": {
"base": {
"value": "#312768",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F4FB",
"type": "color"
},
"100": {
"value": "#E4E1F4",
"type": "color"
},
"200": {
"value": "#C9C4E8",
"type": "color"
},
"300": {
"value": "#A39BD5",
"type": "color"
},
"400": {
"value": "#7F74BE",
"type": "color"
},
"500": {
"value": "#5F53A2",
"type": "color"
},
"600": {
"value": "#4D457D",
"type": "color"
},
"700": {
"value": "#3B355A",
"type": "color"
},
"800": {
"value": "#29263B",
"type": "color"
},
"900": {
"value": "#1A1925",
"type": "color"
}
}
}
}