#402FFA 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 #402FFA works with other colors. Named schemes with #402FFA 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 opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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 glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #402FFA 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 #402FFA at work across the surfaces designers actually ship.
:root {
--color-base: #402FFA;
--color-base-rgb: 64 47 250;
--color-base-oklch: oklch(49.4% 0.277 273.2);
--color-50: #F1F0FE;
--color-100: #DBD8FD;
--color-200: #B7B1FC;
--color-300: #857AF5;
--color-400: #574AE8;
--color-500: #3527CE;
--color-600: #30269C;
--color-700: #27216E;
--color-800: #1D1A47;
--color-900: #14122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F1F0FE',
100: '#DBD8FD',
200: '#B7B1FC',
300: '#857AF5',
400: '#574AE8',
500: '#3527CE',
600: '#30269C',
700: '#27216E',
800: '#1D1A47',
900: '#14122B',
},
}
$base: #402FFA; $base-ink: #FFFFFF; $base-50: #F1F0FE; $base-100: #DBD8FD; $base-200: #B7B1FC; $base-300: #857AF5; $base-400: #574AE8; $base-500: #3527CE; $base-600: #30269C; $base-700: #27216E; $base-800: #1D1A47; $base-900: #14122B; $base-hover: #1906E7; $base-subtle: #CCC8F6;
{
"color": {
"base": {
"value": "#402FFA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F0FE",
"type": "color"
},
"100": {
"value": "#DBD8FD",
"type": "color"
},
"200": {
"value": "#B7B1FC",
"type": "color"
},
"300": {
"value": "#857AF5",
"type": "color"
},
"400": {
"value": "#574AE8",
"type": "color"
},
"500": {
"value": "#3527CE",
"type": "color"
},
"600": {
"value": "#30269C",
"type": "color"
},
"700": {
"value": "#27216E",
"type": "color"
},
"800": {
"value": "#1D1A47",
"type": "color"
},
"900": {
"value": "#14122B",
"type": "color"
}
}
}
}