#511798 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 #511798 works with other colors. Named schemes with #511798 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 #511798 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 #511798 at work across the surfaces designers actually ship.
:root {
--color-base: #511798;
--color-base-rgb: 81 23 152;
--color-base-oklch: oklch(38.3% 0.187 296.3);
--color-50: #F7F1FE;
--color-100: #E9DBFB;
--color-200: #D3B8F4;
--color-300: #B388E7;
--color-400: #935CD6;
--color-500: #7439BC;
--color-600: #5C338F;
--color-700: #442A65;
--color-800: #2F1F42;
--color-900: #1E1529;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
indigo: {
50: '#F7F1FE',
100: '#E9DBFB',
200: '#D3B8F4',
300: '#B388E7',
400: '#935CD6',
500: '#7439BC',
600: '#5C338F',
700: '#442A65',
800: '#2F1F42',
900: '#1E1529',
},
}
$base: #511798; $base-ink: #FFFFFF; $base-50: #F7F1FE; $base-100: #E9DBFB; $base-200: #D3B8F4; $base-300: #B388E7; $base-400: #935CD6; $base-500: #7439BC; $base-600: #5C338F; $base-700: #442A65; $base-800: #2F1F42; $base-900: #1E1529; $base-hover: #401279; $base-subtle: #CAB0E9;
{
"color": {
"base": {
"value": "#511798",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F7F1FE",
"type": "color"
},
"100": {
"value": "#E9DBFB",
"type": "color"
},
"200": {
"value": "#D3B8F4",
"type": "color"
},
"300": {
"value": "#B388E7",
"type": "color"
},
"400": {
"value": "#935CD6",
"type": "color"
},
"500": {
"value": "#7439BC",
"type": "color"
},
"600": {
"value": "#5C338F",
"type": "color"
},
"700": {
"value": "#442A65",
"type": "color"
},
"800": {
"value": "#2F1F42",
"type": "color"
},
"900": {
"value": "#1E1529",
"type": "color"
}
}
}
}