#840FCC is a mid-toned, cool magenta. 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 #840FCC works with other colors. Named schemes with #840FCC in its natural role, and a note on why the supporting colors balance it.
Dark Violet sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Dark Violet is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Dark Violet.
Dark Violet 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 Dark Violet carrying the quiet middle.
Dark Violet opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Dark Violet glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #840FCC 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 #840FCC at work across the surfaces designers actually ship.
:root {
--color-base: #840FCC;
--color-base-rgb: 132 15 204;
--color-base-oklch: oklch(49.1% 0.247 305.5);
--color-50: #F9F0FE;
--color-100: #EFD8FD;
--color-200: #DEB3F9;
--color-300: #C580EF;
--color-400: #AA52E0;
--color-500: #8C2FC6;
--color-600: #6D2B96;
--color-700: #50256A;
--color-800: #351C45;
--color-900: #21132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-violet: {
50: '#F9F0FE',
100: '#EFD8FD',
200: '#DEB3F9',
300: '#C580EF',
400: '#AA52E0',
500: '#8C2FC6',
600: '#6D2B96',
700: '#50256A',
800: '#351C45',
900: '#21132A',
},
}
$base: #840FCC; $base-ink: #FFFFFF; $base-50: #F9F0FE; $base-100: #EFD8FD; $base-200: #DEB3F9; $base-300: #C580EF; $base-400: #AA52E0; $base-500: #8C2FC6; $base-600: #6D2B96; $base-700: #50256A; $base-800: #351C45; $base-900: #21132A; $base-hover: #690CA3; $base-subtle: #DAB7F0;
{
"color": {
"base": {
"value": "#840FCC",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F9F0FE",
"type": "color"
},
"100": {
"value": "#EFD8FD",
"type": "color"
},
"200": {
"value": "#DEB3F9",
"type": "color"
},
"300": {
"value": "#C580EF",
"type": "color"
},
"400": {
"value": "#AA52E0",
"type": "color"
},
"500": {
"value": "#8C2FC6",
"type": "color"
},
"600": {
"value": "#6D2B96",
"type": "color"
},
"700": {
"value": "#50256A",
"type": "color"
},
"800": {
"value": "#351C45",
"type": "color"
},
"900": {
"value": "#21132A",
"type": "color"
}
}
}
}