#402FDF is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It sits well as a supporting tone.
Not just a swatch — here's how #402FDF works with other colors. Named schemes with #402FDF in its natural role, and a note on why the supporting colors balance it.
Han Purple is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Han Purple.
Han Purple sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Han Purple 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 Han Purple carrying the quiet middle.
Han Purple opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Han Purple glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #402FDF 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 #402FDF at work across the surfaces designers actually ship.
:root {
--color-base: #402FDF;
--color-base-rgb: 64 47 223;
--color-base-oklch: oklch(46.5% 0.248 275.1);
--color-50: #F2F1FD;
--color-100: #DEDBFA;
--color-200: #BEB9F4;
--color-300: #9288E7;
--color-400: #695DD5;
--color-500: #473ABB;
--color-600: #3D338E;
--color-700: #302A65;
--color-800: #221F42;
--color-900: #171528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F2F1FD',
100: '#DEDBFA',
200: '#BEB9F4',
300: '#9288E7',
400: '#695DD5',
500: '#473ABB',
600: '#3D338E',
700: '#302A65',
800: '#221F42',
900: '#171528',
},
}
$base: #402FDF; $base-ink: #FFFFFF; $base-50: #F2F1FD; $base-100: #DEDBFA; $base-200: #BEB9F4; $base-300: #9288E7; $base-400: #695DD5; $base-500: #473ABB; $base-600: #3D338E; $base-700: #302A65; $base-800: #221F42; $base-900: #171528; $base-hover: #2D1DBB; $base-subtle: #CBC7EF;
{
"color": {
"base": {
"value": "#402FDF",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F1FD",
"type": "color"
},
"100": {
"value": "#DEDBFA",
"type": "color"
},
"200": {
"value": "#BEB9F4",
"type": "color"
},
"300": {
"value": "#9288E7",
"type": "color"
},
"400": {
"value": "#695DD5",
"type": "color"
},
"500": {
"value": "#473ABB",
"type": "color"
},
"600": {
"value": "#3D338E",
"type": "color"
},
"700": {
"value": "#302A65",
"type": "color"
},
"800": {
"value": "#221F42",
"type": "color"
},
"900": {
"value": "#171528",
"type": "color"
}
}
}
}