#271D97 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 #271D97 works with other colors. Named schemes with #271D97 in its natural role, and a note on why the supporting colors balance it.
Klein Blue carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.
Klein 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 Klein Blue.
Klein Blue adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Klein Blue.
Klein Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Klein 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 Klein Blue carrying the quiet middle.
How #271D97 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 #271D97 at work across the surfaces designers actually ship.
:root {
--color-base: #271D97;
--color-base-rgb: 39 29 151;
--color-base-oklch: oklch(34.8% 0.185 274.5);
--color-50: #F3F2FD;
--color-100: #DEDCF9;
--color-200: #BFBBF2;
--color-300: #938CE3;
--color-400: #6A61D1;
--color-500: #493FB6;
--color-600: #3E378B;
--color-700: #312C63;
--color-800: #232041;
--color-900: #171528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
klein-blue: {
50: '#F3F2FD',
100: '#DEDCF9',
200: '#BFBBF2',
300: '#938CE3',
400: '#6A61D1',
500: '#493FB6',
600: '#3E378B',
700: '#312C63',
800: '#232041',
900: '#171528',
},
}
$base: #271D97; $base-ink: #FFFFFF; $base-50: #F3F2FD; $base-100: #DEDCF9; $base-200: #BFBBF2; $base-300: #938CE3; $base-400: #6A61D1; $base-500: #493FB6; $base-600: #3E378B; $base-700: #312C63; $base-800: #232041; $base-900: #171528; $base-hover: #1F1778; $base-subtle: #B8B4E7;
{
"color": {
"base": {
"value": "#271D97",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F2FD",
"type": "color"
},
"100": {
"value": "#DEDCF9",
"type": "color"
},
"200": {
"value": "#BFBBF2",
"type": "color"
},
"300": {
"value": "#938CE3",
"type": "color"
},
"400": {
"value": "#6A61D1",
"type": "color"
},
"500": {
"value": "#493FB6",
"type": "color"
},
"600": {
"value": "#3E378B",
"type": "color"
},
"700": {
"value": "#312C63",
"type": "color"
},
"800": {
"value": "#232041",
"type": "color"
},
"900": {
"value": "#171528",
"type": "color"
}
}
}
}