#9400D3Darkviolet is a vivid, fully saturated, dark cool purple (#9400D3).
Darkviolet reads as a vivid, fully saturated purple with a cool temperament. Colors in this range are commonly associated with creativity, luxury and imagination, which makes darkviolet a natural fit for premium products, beauty brands and creative tools.
With a 6.56:1 contrast ratio against white, darkviolet is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. Against black text it manages 3.20:1, so stick with white type on darkviolet surfaces.
For pairings, the complement of darkviolet sits at 102° — #3FD100, close to limegreen — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for darkviolet in the palettes below, with copy-ready codes.
Every palette below is computed from darkviolet's position on the color wheel (hue 282°). Hover any swatch to see its code; click to copy.
Tints mix darkviolet toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how darkviolet performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Darkviolet | 6.56:1 | AA | AAA |
| Black text on Darkviolet | 3.20:1 | Fail | AA |
#5453A0#5C6894#8D786FCopy-ready snippets. In CSS you can also use the keyword darkviolet directly.
:root {
--darkviolet: #9400D3;
--darkviolet-rgb: 148, 0, 211;
--darkviolet-tint: #C473E7;
--darkviolet-shade: #510074;
}
.btn-darkviolet {
background: var(--darkviolet);
color: #ffffff;
}
// tailwind.config.js
colors: {
'darkviolet': {
DEFAULT: '#9400D3',
light: '#C473E7',
dark: '#510074',
},
}
The closest CSS named colors by perceptual (Lab) distance.