#331ECC is a deep, 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 #331ECC works with other colors. Named schemes with #331ECC in its natural role, and a note on why the supporting colors balance it.
Medium Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Medium Blue.
Medium Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium Blue 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 Medium Blue carrying the quiet middle.
Medium Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #331ECC 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 #331ECC at work across the surfaces designers actually ship.
:root {
--color-base: #331ECC;
--color-base-rgb: 51 30 204;
--color-base-oklch: oklch(41.8% 0.242 273.7);
--color-50: #F3F1FE;
--color-100: #DEDBFB;
--color-200: #BFB8F4;
--color-300: #9388E7;
--color-400: #6A5CD6;
--color-500: #4839BC;
--color-600: #3E338F;
--color-700: #302A65;
--color-800: #231F42;
--color-900: #171529;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
medium-blue: {
50: '#F3F1FE',
100: '#DEDBFB',
200: '#BFB8F4',
300: '#9388E7',
400: '#6A5CD6',
500: '#4839BC',
600: '#3E338F',
700: '#302A65',
800: '#231F42',
900: '#171529',
},
}
$base: #331ECC; $base-ink: #FFFFFF; $base-50: #F3F1FE; $base-100: #DEDBFB; $base-200: #BFB8F4; $base-300: #9388E7; $base-400: #6A5CD6; $base-500: #4839BC; $base-600: #3E338F; $base-700: #302A65; $base-800: #231F42; $base-900: #171529; $base-hover: #2918A3; $base-subtle: #C4BEED;
{
"color": {
"base": {
"value": "#331ECC",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FE",
"type": "color"
},
"100": {
"value": "#DEDBFB",
"type": "color"
},
"200": {
"value": "#BFB8F4",
"type": "color"
},
"300": {
"value": "#9388E7",
"type": "color"
},
"400": {
"value": "#6A5CD6",
"type": "color"
},
"500": {
"value": "#4839BC",
"type": "color"
},
"600": {
"value": "#3E338F",
"type": "color"
},
"700": {
"value": "#302A65",
"type": "color"
},
"800": {
"value": "#231F42",
"type": "color"
},
"900": {
"value": "#171529",
"type": "color"
}
}
}
}