#31339B is a deep, cool violet. 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 #31339B works with other colors. Named schemes with #31339B in its natural role, and a note on why the supporting colors balance it.
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 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 plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
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.
How #31339B 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 #31339B at work across the surfaces designers actually ship.
:root {
--color-base: #31339B;
--color-base-rgb: 49 51 155;
--color-base-oklch: oklch(39.1% 0.165 274.9);
--color-50: #F3F3FC;
--color-100: #DFE0F6;
--color-200: #C1C2EB;
--color-300: #9697D9;
--color-400: #6E6FC4;
--color-500: #4D4EA8;
--color-600: #414281;
--color-700: #32335C;
--color-800: #24243D;
--color-900: #181826;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
egyptian-blue: {
50: '#F3F3FC',
100: '#DFE0F6',
200: '#C1C2EB',
300: '#9697D9',
400: '#6E6FC4',
500: '#4D4EA8',
600: '#414281',
700: '#32335C',
800: '#24243D',
900: '#181826',
},
}
$base: #31339B; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #DFE0F6; $base-200: #C1C2EB; $base-300: #9697D9; $base-400: #6E6FC4; $base-500: #4D4EA8; $base-600: #414281; $base-700: #32335C; $base-800: #24243D; $base-900: #181826; $base-hover: #27297C; $base-subtle: #BFC0E3;
{
"color": {
"base": {
"value": "#31339B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#DFE0F6",
"type": "color"
},
"200": {
"value": "#C1C2EB",
"type": "color"
},
"300": {
"value": "#9697D9",
"type": "color"
},
"400": {
"value": "#6E6FC4",
"type": "color"
},
"500": {
"value": "#4D4EA8",
"type": "color"
},
"600": {
"value": "#414281",
"type": "color"
},
"700": {
"value": "#32335C",
"type": "color"
},
"800": {
"value": "#24243D",
"type": "color"
},
"900": {
"value": "#181826",
"type": "color"
}
}
}
}