#403172 is a deep, cool purple. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and reproduces cleanly in print.
Not just a swatch — here's how #403172 works with other colors. Named schemes with #403172 in its natural role, and a note on why the supporting colors balance it.
Dark Slate 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.
Dark Slate 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 Dark Slate Blue.
Dark Slate Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Dark Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Dark Slate 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 Dark Slate Blue carrying the quiet middle.
How #403172 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 #403172 at work across the surfaces designers actually ship.
:root {
--color-base: #403172;
--color-base-rgb: 64 49 114;
--color-base-oklch: oklch(36.6% 0.108 290.7);
--color-50: #F6F4FB;
--color-100: #E6E2F3;
--color-200: #CEC6E6;
--color-300: #AA9ED1;
--color-400: #8778BA;
--color-500: #68579E;
--color-600: #54487A;
--color-700: #3F3758;
--color-800: #2B273A;
--color-900: #1C1924;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-slate-blue: {
50: '#F6F4FB',
100: '#E6E2F3',
200: '#CEC6E6',
300: '#AA9ED1',
400: '#8778BA',
500: '#68579E',
600: '#54487A',
700: '#3F3758',
800: '#2B273A',
900: '#1C1924',
},
}
$base: #403172; $base-ink: #FFFFFF; $base-50: #F6F4FB; $base-100: #E6E2F3; $base-200: #CEC6E6; $base-300: #AA9ED1; $base-400: #8778BA; $base-500: #68579E; $base-600: #54487A; $base-700: #3F3758; $base-800: #2B273A; $base-900: #1C1924; $base-hover: #33275B; $base-subtle: #C3BBDB;
{
"color": {
"base": {
"value": "#403172",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F4FB",
"type": "color"
},
"100": {
"value": "#E6E2F3",
"type": "color"
},
"200": {
"value": "#CEC6E6",
"type": "color"
},
"300": {
"value": "#AA9ED1",
"type": "color"
},
"400": {
"value": "#8778BA",
"type": "color"
},
"500": {
"value": "#68579E",
"type": "color"
},
"600": {
"value": "#54487A",
"type": "color"
},
"700": {
"value": "#3F3758",
"type": "color"
},
"800": {
"value": "#2B273A",
"type": "color"
},
"900": {
"value": "#1C1924",
"type": "color"
}
}
}
}