#271FF4 is a mid-toned, 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 #271FF4 works with other colors. Named schemes with #271FF4 in its natural role, and a note on why the supporting colors balance it.
Ultramarine is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Ultramarine.
Ultramarine opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Ultramarine sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Ultramarine 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 Ultramarine carrying the quiet middle.
Ultramarine glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #271FF4 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 #271FF4 at work across the surfaces designers actually ship.
:root {
--color-base: #271FF4;
--color-base-rgb: 39 31 244;
--color-base-oklch: oklch(46.1% 0.287 268.5);
--color-50: #F1F0FE;
--color-100: #D9D8FD;
--color-200: #B4B1FB;
--color-300: #817DF2;
--color-400: #534EE4;
--color-500: #302ACB;
--color-600: #2C289A;
--color-700: #25236C;
--color-800: #1C1B46;
--color-900: #13122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
ultramarine: {
50: '#F1F0FE',
100: '#D9D8FD',
200: '#B4B1FB',
300: '#817DF2',
400: '#534EE4',
500: '#302ACB',
600: '#2C289A',
700: '#25236C',
800: '#1C1B46',
900: '#13122B',
},
}
$base: #271FF4; $base-ink: #FFFFFF; $base-50: #F1F0FE; $base-100: #D9D8FD; $base-200: #B4B1FB; $base-300: #817DF2; $base-400: #534EE4; $base-500: #302ACB; $base-600: #2C289A; $base-700: #25236C; $base-800: #1C1B46; $base-900: #13122B; $base-hover: #110AD2; $base-subtle: #C5C3F4;
{
"color": {
"base": {
"value": "#271FF4",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F0FE",
"type": "color"
},
"100": {
"value": "#D9D8FD",
"type": "color"
},
"200": {
"value": "#B4B1FB",
"type": "color"
},
"300": {
"value": "#817DF2",
"type": "color"
},
"400": {
"value": "#534EE4",
"type": "color"
},
"500": {
"value": "#302ACB",
"type": "color"
},
"600": {
"value": "#2C289A",
"type": "color"
},
"700": {
"value": "#25236C",
"type": "color"
},
"800": {
"value": "#1C1B46",
"type": "color"
},
"900": {
"value": "#13122B",
"type": "color"
}
}
}
}