#331A6B 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 #331A6B works with other colors. Named schemes with #331A6B 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 sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
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 #331A6B 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 #331A6B at work across the surfaces designers actually ship.
:root {
--color-base: #331A6B;
--color-base-rgb: 51 26 107;
--color-base-oklch: oklch(30.7% 0.131 290.7);
--color-50: #F5F2FC;
--color-100: #E6DDF8;
--color-200: #CDBDEF;
--color-300: #A990DF;
--color-400: #8667CB;
--color-500: #6745B0;
--color-600: #533B87;
--color-700: #3E2F60;
--color-800: #2B223F;
--color-900: #1C1627;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F2FC',
100: '#E6DDF8',
200: '#CDBDEF',
300: '#A990DF',
400: '#8667CB',
500: '#6745B0',
600: '#533B87',
700: '#3E2F60',
800: '#2B223F',
900: '#1C1627',
},
}
$base: #331A6B; $base-ink: #FFFFFF; $base-50: #F5F2FC; $base-100: #E6DDF8; $base-200: #CDBDEF; $base-300: #A990DF; $base-400: #8667CB; $base-500: #6745B0; $base-600: #533B87; $base-700: #3E2F60; $base-800: #2B223F; $base-900: #1C1627; $base-hover: #291555; $base-subtle: #BDACE1;
{
"color": {
"base": {
"value": "#331A6B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F2FC",
"type": "color"
},
"100": {
"value": "#E6DDF8",
"type": "color"
},
"200": {
"value": "#CDBDEF",
"type": "color"
},
"300": {
"value": "#A990DF",
"type": "color"
},
"400": {
"value": "#8667CB",
"type": "color"
},
"500": {
"value": "#6745B0",
"type": "color"
},
"600": {
"value": "#533B87",
"type": "color"
},
"700": {
"value": "#3E2F60",
"type": "color"
},
"800": {
"value": "#2B223F",
"type": "color"
},
"900": {
"value": "#1C1627",
"type": "color"
}
}
}
}