#331DC3 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 #331DC3 works with other colors. Named schemes with #331DC3 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 #331DC3 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 #331DC3 at work across the surfaces designers actually ship.
:root {
--color-base: #331DC3;
--color-base-rgb: 51 29 195;
--color-base-oklch: oklch(40.7% 0.233 274.5);
--color-50: #F3F1FE;
--color-100: #DFDBFB;
--color-200: #C0B8F4;
--color-300: #9588E7;
--color-400: #6C5CD6;
--color-500: #4B39BC;
--color-600: #3F338F;
--color-700: #312A65;
--color-800: #231F42;
--color-900: #171529;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
medium-blue: {
50: '#F3F1FE',
100: '#DFDBFB',
200: '#C0B8F4',
300: '#9588E7',
400: '#6C5CD6',
500: '#4B39BC',
600: '#3F338F',
700: '#312A65',
800: '#231F42',
900: '#171529',
},
}
$base: #331DC3; $base-ink: #FFFFFF; $base-50: #F3F1FE; $base-100: #DFDBFB; $base-200: #C0B8F4; $base-300: #9588E7; $base-400: #6C5CD6; $base-500: #4B39BC; $base-600: #3F338F; $base-700: #312A65; $base-800: #231F42; $base-900: #171529; $base-hover: #29179C; $base-subtle: #C2BCEC;
{
"color": {
"base": {
"value": "#331DC3",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FE",
"type": "color"
},
"100": {
"value": "#DFDBFB",
"type": "color"
},
"200": {
"value": "#C0B8F4",
"type": "color"
},
"300": {
"value": "#9588E7",
"type": "color"
},
"400": {
"value": "#6C5CD6",
"type": "color"
},
"500": {
"value": "#4B39BC",
"type": "color"
},
"600": {
"value": "#3F338F",
"type": "color"
},
"700": {
"value": "#312A65",
"type": "color"
},
"800": {
"value": "#231F42",
"type": "color"
},
"900": {
"value": "#171529",
"type": "color"
}
}
}
}