#331A6C 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 #331A6C works with other colors. Named schemes with #331A6C 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 #331A6C 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 #331A6C at work across the surfaces designers actually ship.
:root {
--color-base: #331A6C;
--color-base-rgb: 51 26 108;
--color-base-oklch: oklch(30.8% 0.133 290.4);
--color-50: #F5F2FC;
--color-100: #E5DDF8;
--color-200: #CCBDEF;
--color-300: #A890DF;
--color-400: #8567CB;
--color-500: #6545B0;
--color-600: #523B87;
--color-700: #3E2F60;
--color-800: #2B223F;
--color-900: #1B1627;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F2FC',
100: '#E5DDF8',
200: '#CCBDEF',
300: '#A890DF',
400: '#8567CB',
500: '#6545B0',
600: '#523B87',
700: '#3E2F60',
800: '#2B223F',
900: '#1B1627',
},
}
$base: #331A6C; $base-ink: #FFFFFF; $base-50: #F5F2FC; $base-100: #E5DDF8; $base-200: #CCBDEF; $base-300: #A890DF; $base-400: #8567CB; $base-500: #6545B0; $base-600: #523B87; $base-700: #3E2F60; $base-800: #2B223F; $base-900: #1B1627; $base-hover: #281555; $base-subtle: #BCACE1;
{
"color": {
"base": {
"value": "#331A6C",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F2FC",
"type": "color"
},
"100": {
"value": "#E5DDF8",
"type": "color"
},
"200": {
"value": "#CCBDEF",
"type": "color"
},
"300": {
"value": "#A890DF",
"type": "color"
},
"400": {
"value": "#8567CB",
"type": "color"
},
"500": {
"value": "#6545B0",
"type": "color"
},
"600": {
"value": "#523B87",
"type": "color"
},
"700": {
"value": "#3E2F60",
"type": "color"
},
"800": {
"value": "#2B223F",
"type": "color"
},
"900": {
"value": "#1B1627",
"type": "color"
}
}
}
}