#402FDA is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #402FDA works with other colors. Named schemes with #402FDA 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 #402FDA 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 #402FDA at work across the surfaces designers actually ship.
:root {
--color-base: #402FDA;
--color-base-rgb: 64 47 218;
--color-base-oklch: oklch(46.0% 0.242 275.5);
--color-50: #F3F1FD;
--color-100: #DFDBFA;
--color-200: #BFBAF3;
--color-300: #938AE5;
--color-400: #6B5FD3;
--color-500: #493DB8;
--color-600: #3E358C;
--color-700: #312B64;
--color-800: #232041;
--color-900: #171528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F3F1FD',
100: '#DFDBFA',
200: '#BFBAF3',
300: '#938AE5',
400: '#6B5FD3',
500: '#493DB8',
600: '#3E358C',
700: '#312B64',
800: '#232041',
900: '#171528',
},
}
$base: #402FDA; $base-ink: #FFFFFF; $base-50: #F3F1FD; $base-100: #DFDBFA; $base-200: #BFBAF3; $base-300: #938AE5; $base-400: #6B5FD3; $base-500: #493DB8; $base-600: #3E358C; $base-700: #312B64; $base-800: #232041; $base-900: #171528; $base-hover: #2F20B4; $base-subtle: #CBC7EE;
{
"color": {
"base": {
"value": "#402FDA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FD",
"type": "color"
},
"100": {
"value": "#DFDBFA",
"type": "color"
},
"200": {
"value": "#BFBAF3",
"type": "color"
},
"300": {
"value": "#938AE5",
"type": "color"
},
"400": {
"value": "#6B5FD3",
"type": "color"
},
"500": {
"value": "#493DB8",
"type": "color"
},
"600": {
"value": "#3E358C",
"type": "color"
},
"700": {
"value": "#312B64",
"type": "color"
},
"800": {
"value": "#232041",
"type": "color"
},
"900": {
"value": "#171528",
"type": "color"
}
}
}
}