#801dba
a dark, vivid violet · cool · closest name: Dark Violet
Token name suggestion: Forest Amethyst
#801dba is a dark vivid violet, 278° on the wheel and 62/100 on the cool side. Put white text on it (7.49:1). As text it scores 7.49:1 on white — safe at any size. Nearest name is Dark Violet, nearest Tailwind family is violet.
At a glance
Every number on this page in one read: what #801dba is made of, how bright it looks, and which way it leans.
Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #801dba.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.
Every format
| HEX | #801dba |
| HEX (8-digit) | #801dbaff |
| RGB | rgb(128, 29, 186) |
| RGBA | rgba(128, 29, 186, 1) |
| HSL | hsl(278, 73%, 42%) |
| HSV / HSB | hsv(278, 84%, 73%) |
| HWB | hwb(278 11% 27%) |
| CMYK | cmyk(31%, 84%, 0%, 27%) |
| LAB | lab(36.0 64.0 -61.7) |
| LCH | lch(36.0 88.9 316.0) |
| OKLCH | oklch(0.478 0.223 308.0) |
| XYZ (D65) | xyz(18.20, 9.01, 47.23) |
| Decimal | 8396218 |
| Display P3 | color(display-p3 0.502 0.114 0.729) |
| Web-safe | #9933CC |
Copy-ready code
/* CSS */
color: #801dba;
background-color: #801dba;
/* CSS custom property */
--brand: #801dba;
/* Tailwind (arbitrary) */
class="text-[#801dba] bg-[#801dba]"
/* SCSS */
$brand: #801dba;
/* SwiftUI */
Color(red: 0.502, green: 0.114, blue: 0.729)
/* UIKit */
UIColor(red: 0.502, green: 0.114, blue: 0.729, alpha: 1)
/* Android XML */
<color name="brand">#801DBA</color>
/* Android Compose */
Color(0xFF801DBA)
/* Flutter */
Color(0xFF801DBA)
/* Python / OpenCV (BGR) */
(186, 29, 128)
/* Python / PIL (RGB) */
(128, 29, 186)
/* Java AWT */
new Color(128, 29, 186)
/* .NET */
Color.FromArgb(255, 128, 29, 186)
/* OpenGL / Unity (0–1) */
(0.5020f, 0.1137f, 0.7294f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{128,29,186}/* mix without leaving CSS */ background: color-mix(in oklab, #801dba 85%, white); border-color: color-mix(in oklab, #801dba 40%, transparent); /* theme-aware in one line */ color: light-dark(#4C116E, #E4D3EE); /* relative colour syntax */ --hover: hsl(from #801dba h s calc(l - 7));
Design tokens
The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.
:root {
--brand-50: #F8F3FC;
--brand-100: #F2E7F8;
--brand-200: #E3C9F3;
--brand-300: #D29EF0;
--brand-400: #BB6DE8;
--brand-500: #A43DE1;
--brand-600: #9221D4;
--brand-700: #801dba;
--brand-800: #61168D;
--brand-900: #481466;
--brand-950: #2D0D40;
--brand: #801dba;
--brand-ink: #ffffff;
--brand-surface: #F8F4FA;
--brand-border: #DCC0ED;
--brand-hover: #6B189B;
--brand-pressed: #56137C;
}
@media (prefers-color-scheme: dark) {
:root {
--brand-surface: #1E1424;
--brand-ink: #E4D3EE;
}
}theme: {
extend: {
colors: {
brand: {
50: '#F8F3FC',
100: '#F2E7F8',
200: '#E3C9F3',
300: '#D29EF0',
400: '#BB6DE8',
500: '#A43DE1',
600: '#9221D4',
700: '#801dba',
800: '#61168D',
900: '#481466',
950: '#2D0D40',
DEFAULT: '#801dba',
},
},
},
}$brand: (
'50': #F8F3FC,
'100': #F2E7F8,
'200': #E3C9F3,
'300': #D29EF0,
'400': #BB6DE8,
'500': #A43DE1,
'600': #9221D4,
'700': #801dba,
'800': #61168D,
'900': #481466,
'950': #2D0D40,
);
$brand-base: #801dba;
$brand-ink: #ffffff;
@function brand($step) { @return map-get($brand, $step); }{
"color": {
"brand": {
"50": { "$value": "#F8F3FC", "$type": "color" },
"100": { "$value": "#F2E7F8", "$type": "color" },
"200": { "$value": "#E3C9F3", "$type": "color" },
"300": { "$value": "#D29EF0", "$type": "color" },
"400": { "$value": "#BB6DE8", "$type": "color" },
"500": { "$value": "#A43DE1", "$type": "color" },
"600": { "$value": "#9221D4", "$type": "color" },
"700": { "$value": "#801dba", "$type": "color" },
"800": { "$value": "#61168D", "$type": "color" },
"900": { "$value": "#481466", "$type": "color" },
"950": { "$value": "#2D0D40", "$type": "color" }
},
"brandInk": { "$value": "#ffffff", "$type": "color" }
}
}Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Make it accessible
A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.
Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #801DBA is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).
Accessibility — WCAG contrast
Contrast is symmetric, so each row covers both directions: #801dba as text on that neutral, and that neutral as text on #801dba.
| Neutral | Ratio | Verdict | Both directions |
|---|---|---|---|
| White#ffffff | 7.49:1 | AAAA lgAAA | AaAa |
| Slate 50#f8fafc | 7.16:1 | AAAA lgAAA | AaAa |
| Slate 100#f1f5f9 | 6.84:1 | AAAA lgAAA | AaAa |
| Slate 200#e2e8f0 | 6.08:1 | AAAA lgAAA | AaAa |
| Slate 300#cbd5e1 | 5.05:1 | AAAA lgAAA | AaAa |
| Slate 400#94a3b8 | 2.92:1 | AAAA lgAAA | AaAa |
| Slate 500#64748b | 1.57:1 | AAAA lgAAA | AaAa |
| Slate 600#475569 | 1.01:1 | AAAA lgAAA | AaAa |
| Slate 700#334155 | 1.38:1 | AAAA lgAAA | AaAa |
| Slate 800#1e293b | 1.95:1 | AAAA lgAAA | AaAa |
| Slate 900#0f172a | 2.38:1 | AAAA lgAAA | AaAa |
| Black#000000 | 2.80:1 | AAAA lgAAA | AaAa |
Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #801dba is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.
:root {
--brand-50: oklch(0.97 0.056 308.0);
--brand-100: oklch(0.94 0.089 308.0);
--brand-200: oklch(0.88 0.134 308.0);
--brand-300: oklch(0.80 0.174 308.0);
--brand-400: oklch(0.72 0.205 308.0);
--brand-500: oklch(0.64 0.223 308.0);
--brand-600: oklch(0.56 0.223 308.0);
--brand-700: oklch(0.48 0.210 308.0);
--brand-800: oklch(0.40 0.187 308.0);
--brand-900: oklch(0.32 0.156 308.0);
--brand-950: oklch(0.24 0.123 308.0);
}Colors that work with #801dba
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
In real components
The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.
Focus ring uses the light variant so the field still reads as one shape.
The file stays available for seven days. Download it before it expires.
How to use #801dba
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text on black or near-black surfaces
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Meaning and mood
What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.
Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft.
This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The low lightness adds weight and formality.
Deep violets swallow detail on screens with poor gamma; check it on a cheap laptop panel.
- FormalityHigh
- EnergyMedium-high
- Weight58/100
- TemperatureCool
- ApproachabilityBalanced
Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #57BA1D | Directly opposite — maximum tension | |
| Analogous left | #311DBA | Neighbour, quieter | |
| Analogous right | #BA1DA6 | Neighbour, quieter | |
| Split-complement 1 | #A6BA1D | Contrast without the clash | |
| Split-complement 2 | #1DBA31 | Contrast without the clash | |
| Triadic 1 | #BA801D | Even thirds — balanced and loud | |
| Triadic 2 | #1DBA80 | Even thirds — balanced and loud | |
| Tetradic | #BA311D | Fourth corner of the square scheme |
#801dba sits at 278°. Every dot is a harmony position and links to its own page in the table alongside.
RGB percentages
CMYK percentages
Total ink coverage is 143%. Most commercial presses cap around 300% — above that, sheets stop drying properly.
Color previews
#801dba text on a black background
contrast 2.80:1
#801dba text on a white background
contrast 7.49:1
#801dba on grey
6.84:1
#801dba on its own surface
6.89:1
#801dba on its dark surface
2.37:1
CSS3 live lab
The quick brown fox
color: #801dba;
background-color: #801dba;
Glowing headline
text-shadow: 2px 2px 8px #801dba;
Soft neon halo
text-shadow: 0 0 14px rgba(128, 29, 186, 0.45);
box-shadow: 0 12px 32px -8px rgba(128, 29, 186, 0.45);
border: 3px solid #801dba; background: linear-gradient(135deg, #801dba, #BA1D8C);
Gradient headline
background: linear-gradient(90deg, #801dba, #BA1D64); -webkit-background-clip: text; color: transparent;
outline: 2px solid #801dba; outline-offset: 3px;
Marked up text
text-decoration-color: #801dba; caret-color: #801dba;
border-left: 4px solid #801dba;
background: #F5E9FC; box-shadow: inset 0 0 0 2px #801dba;
background: conic-gradient(#801dba 68%, #e2e8f0 0);
Transparency
What each alpha value actually composites to. The top row is #801dba over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.
Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.
rgba(128, 29, 186, 0.5) rgb(128 29 186 / 50%) #801dba80 hsl(278 73% 42% / 50%) color-mix(in srgb, #801dba 50%, transparent)
| Alpha | 8-digit hex | Flat on white |
|---|---|---|
| 10% | #801dba1a | #F2E8F8 |
| 20% | #801dba33 | #E6D2F1 |
| 40% | #801dba66 | #CCA5E3 |
| 60% | #801dba99 | #B377D6 |
| 80% | #801dbacc | #994AC8 |
Gradients from #801dba
Six recipes, each built from this hex and shown with the exact CSS that produced it.
background: linear-gradient(135deg, #A035DF, #801dba 45%, #4C116E);
background: linear-gradient(120deg, #801dba, #A0196C);
background: linear-gradient(90deg, #801dba, #57BA1D);
background: radial-gradient(120% 120% at 20% 0%, #AD4FE4 0%, #801dba 45%, #4C116E 100%);
background: linear-gradient(180deg, #F8F4FA, #ffffff);
background: radial-gradient(60% 60% at 15% 20%, #342CDE 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #D521AE 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #4C116E 0%, transparent 65%), #801dba;
Monochromatic scale
Palettes built from #801dba
Shades — darker
Tints — lighter
Tones — desaturated
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Grape (#6f2da8) — ΔE2000 3.7 away, with its history, psychology and brand usage.
#801dba in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.
Too dim on dark surfaces at 2.80:1 — lift it to #A742E2 for body text, or reserve it for fills.
Explore nearby colors
Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.
#801dba, answered
What color is #801dba?
#801dba is a dark vivid violet, closest to Dark Violet (ΔE2000 4.2). It sits at 278° on the hue wheel with 73% saturation and 42% lightness, which reads as cool.
What is the RGB value of #801dba?
rgb(128, 29, 186) — 128 red, 29 green and 186 blue out of 255, or 50.2% / 11.4% / 72.9% by channel.
What is #801dba in HSL and HSV?
hsl(278, 73%, 42%) and hsv(278, 84%, 73%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.
Is #801dba a light or a dark color?
It is a dark color. Relative luminance is 0.0901 and perceived brightness is 38%, so white text on it reaches 7.49:1.
Should I use black or white text on #801dba?
White. It scores 7.49:1 against #801dba, versus 2.80:1 for black — AAA at any size.
Is #801dba accessible on a white background?
#801dba on white scores 7.49:1, which clears AAA at every size.
What is the complementary color of #801dba?
#57BA1D sits directly opposite on the wheel. Softer options are the split-complements #A6BA1D and #1DBA31, which give the same contrast with far less vibration.
What colors go well with #801dba?
For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #79B418 as an accent and #4C116E for hover and pressed states. For a palette, the analogous pair #311DBA and #BA1DA6 stays calm, while #57BA1D is the loudest partner.
What is #801dba in CMYK for printing?
cmyk(31%, 84%, 0%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #801dba warm or cool?
Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA1DBA; nudged cooler, #451BBC.
Which Tailwind color is closest to #801dba?
The violet family — its 500 step is #8b5cf6, ΔE2000 16.1 away. That is a visible difference, so define #801dba as a custom token rather than reaching for the built-in.
How do I use #801dba in Tailwind CSS?
Inline it as an arbitrary value with bg-[#801dba] or text-[#801dba], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.
What is #801dba with 50% opacity?
rgba(128, 29, 186, 0.5), or #801dba80 in eight-digit hex. Over white that composites to #C08EDD; over black, #400F5D.
Is #801dba a web-safe color?
No. The nearest web-safe colour is #9933CC, ΔE2000 6.6 away. The palette only matters for legacy displays and some email clients now.
What does the color #801dba mean?
As a violet, it reads creative, premium, modern. Violet sits between the warmth of red and the calm of blue, so it reads as inventive without reading as risky. Current shorthand for software craft. At this chroma the effect is amplified — it will dominate whatever sits beside it.
What gradient works with #801dba?
The safest is same-hue elevation: linear-gradient(135deg, #A035DF, #801dba 45%, #4C116E). For more colour, a short hue run to #A0196C keeps it rich without turning muddy.
Work with #801dba in the Color Lab
Every tool opens with this colour already loaded.
Every value on this page is computed from #801dba at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.