#28047D 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 #28047D works with other colors. Named schemes with #28047D 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 #28047D 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 #28047D at work across the surfaces designers actually ship.
:root {
--color-base: #28047D;
--color-base-rgb: 40 4 125;
--color-base-oklch: oklch(29.4% 0.172 281.4);
--color-50: #F5F0FE;
--color-100: #E3D8FD;
--color-200: #C7B1FC;
--color-300: #9F7BF4;
--color-400: #7A4BE7;
--color-500: #5928CD;
--color-600: #49269B;
--color-700: #38216D;
--color-800: #271A47;
--color-900: #1A122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F5F0FE',
100: '#E3D8FD',
200: '#C7B1FC',
300: '#9F7BF4',
400: '#7A4BE7',
500: '#5928CD',
600: '#49269B',
700: '#38216D',
800: '#271A47',
900: '#1A122B',
},
}
$base: #28047D; $base-ink: #FFFFFF; $base-50: #F5F0FE; $base-100: #E3D8FD; $base-200: #C7B1FC; $base-300: #9F7BF4; $base-400: #7A4BE7; $base-500: #5928CD; $base-600: #49269B; $base-700: #38216D; $base-800: #271A47; $base-900: #1A122B; $base-hover: #200363; $base-subtle: #B59DEF;
{
"color": {
"base": {
"value": "#28047D",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F0FE",
"type": "color"
},
"100": {
"value": "#E3D8FD",
"type": "color"
},
"200": {
"value": "#C7B1FC",
"type": "color"
},
"300": {
"value": "#9F7BF4",
"type": "color"
},
"400": {
"value": "#7A4BE7",
"type": "color"
},
"500": {
"value": "#5928CD",
"type": "color"
},
"600": {
"value": "#49269B",
"type": "color"
},
"700": {
"value": "#38216D",
"type": "color"
},
"800": {
"value": "#271A47",
"type": "color"
},
"900": {
"value": "#1A122B",
"type": "color"
}
}
}
}