#31107F is a deep, cool purple. 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 #31107F works with other colors. Named schemes with #31107F 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 #31107F 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 #31107F at work across the surfaces designers actually ship.
:root {
--color-base: #31107F;
--color-base-rgb: 49 16 127;
--color-base-oklch: oklch(31.5% 0.165 285.4);
--color-50: #F5F1FE;
--color-100: #E4DAFB;
--color-200: #CAB6F6;
--color-300: #A385EA;
--color-400: #7F58DA;
--color-500: #5F36BF;
--color-600: #4D3091;
--color-700: #3B2867;
--color-800: #291E43;
--color-900: #1A1429;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F1FE',
100: '#E4DAFB',
200: '#CAB6F6',
300: '#A385EA',
400: '#7F58DA',
500: '#5F36BF',
600: '#4D3091',
700: '#3B2867',
800: '#291E43',
900: '#1A1429',
},
}
$base: #31107F; $base-ink: #FFFFFF; $base-50: #F5F1FE; $base-100: #E4DAFB; $base-200: #CAB6F6; $base-300: #A385EA; $base-400: #7F58DA; $base-500: #5F36BF; $base-600: #4D3091; $base-700: #3B2867; $base-800: #291E43; $base-900: #1A1429; $base-hover: #270D66; $base-subtle: #BBA7E9;
{
"color": {
"base": {
"value": "#31107F",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F1FE",
"type": "color"
},
"100": {
"value": "#E4DAFB",
"type": "color"
},
"200": {
"value": "#CAB6F6",
"type": "color"
},
"300": {
"value": "#A385EA",
"type": "color"
},
"400": {
"value": "#7F58DA",
"type": "color"
},
"500": {
"value": "#5F36BF",
"type": "color"
},
"600": {
"value": "#4D3091",
"type": "color"
},
"700": {
"value": "#3B2867",
"type": "color"
},
"800": {
"value": "#291E43",
"type": "color"
},
"900": {
"value": "#1A1429",
"type": "color"
}
}
}
}