#540DA4 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 sits well as a supporting tone.
Not just a swatch — here's how #540DA4 works with other colors. Named schemes with #540DA4 in its natural role, and a note on why the supporting colors balance it.
Indigo sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Indigo is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Indigo.
Indigo 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 Indigo carrying the quiet middle.
Indigo opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Indigo glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #540DA4 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 #540DA4 at work across the surfaces designers actually ship.
:root {
--color-base: #540DA4;
--color-base-rgb: 84 13 164;
--color-base-oklch: oklch(39.2% 0.205 295.3);
--color-50: #F7F0FE;
--color-100: #E9D8FD;
--color-200: #D4B4F9;
--color-300: #B481EE;
--color-400: #9453DF;
--color-500: #7530C5;
--color-600: #5D2C96;
--color-700: #45256A;
--color-800: #2F1C45;
--color-900: #1E132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
indigo: {
50: '#F7F0FE',
100: '#E9D8FD',
200: '#D4B4F9',
300: '#B481EE',
400: '#9453DF',
500: '#7530C5',
600: '#5D2C96',
700: '#45256A',
800: '#2F1C45',
900: '#1E132A',
},
}
$base: #540DA4; $base-ink: #FFFFFF; $base-50: #F7F0FE; $base-100: #E9D8FD; $base-200: #D4B4F9; $base-300: #B481EE; $base-400: #9453DF; $base-500: #7530C5; $base-600: #5D2C96; $base-700: #45256A; $base-800: #2F1C45; $base-900: #1E132A; $base-hover: #430B84; $base-subtle: #CBADED;
{
"color": {
"base": {
"value": "#540DA4",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F7F0FE",
"type": "color"
},
"100": {
"value": "#E9D8FD",
"type": "color"
},
"200": {
"value": "#D4B4F9",
"type": "color"
},
"300": {
"value": "#B481EE",
"type": "color"
},
"400": {
"value": "#9453DF",
"type": "color"
},
"500": {
"value": "#7530C5",
"type": "color"
},
"600": {
"value": "#5D2C96",
"type": "color"
},
"700": {
"value": "#45256A",
"type": "color"
},
"800": {
"value": "#2F1C45",
"type": "color"
},
"900": {
"value": "#1E132A",
"type": "color"
}
}
}
}