#331FB1 is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It sits well as a supporting tone.
Not just a swatch — here's how #331FB1 works with other colors. Named schemes with #331FB1 in its natural role, and a note on why the supporting colors balance it.
Egyptian 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 Egyptian Blue.
Egyptian Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Egyptian 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 Egyptian Blue carrying the quiet middle.
Egyptian Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Egyptian Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #331FB1 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 #331FB1 at work across the surfaces designers actually ship.
:root {
--color-base: #331FB1;
--color-base-rgb: 51 31 177;
--color-base-oklch: oklch(38.8% 0.211 276.3);
--color-50: #F3F1FD;
--color-100: #E0DBFA;
--color-200: #C1BAF3;
--color-300: #968AE5;
--color-400: #6F5FD3;
--color-500: #4D3DB8;
--color-600: #41358C;
--color-700: #332B64;
--color-800: #242041;
--color-900: #181528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
egyptian-blue: {
50: '#F3F1FD',
100: '#E0DBFA',
200: '#C1BAF3',
300: '#968AE5',
400: '#6F5FD3',
500: '#4D3DB8',
600: '#41358C',
700: '#332B64',
800: '#242041',
900: '#181528',
},
}
$base: #331FB1; $base-ink: #FFFFFF; $base-50: #F3F1FD; $base-100: #E0DBFA; $base-200: #C1BAF3; $base-300: #968AE5; $base-400: #6F5FD3; $base-500: #4D3DB8; $base-600: #41358C; $base-700: #332B64; $base-800: #242041; $base-900: #181528; $base-hover: #29198E; $base-subtle: #C0BAEA;
{
"color": {
"base": {
"value": "#331FB1",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FD",
"type": "color"
},
"100": {
"value": "#E0DBFA",
"type": "color"
},
"200": {
"value": "#C1BAF3",
"type": "color"
},
"300": {
"value": "#968AE5",
"type": "color"
},
"400": {
"value": "#6F5FD3",
"type": "color"
},
"500": {
"value": "#4D3DB8",
"type": "color"
},
"600": {
"value": "#41358C",
"type": "color"
},
"700": {
"value": "#332B64",
"type": "color"
},
"800": {
"value": "#242041",
"type": "color"
},
"900": {
"value": "#181528",
"type": "color"
}
}
}
}