CSS named color

Dark Violet #9400D3

Dark Violet is vivid violet. Below: every color format, WCAG contrast against black and white, its tints, shades and tones, and the harmonies that pair with it.

Color values

Contrast & accessibility

WCAG contrast ratio of Dark Violet used as a foreground on white and black backgrounds.

Aa The quick brown fox
6.56:1

On white

AA ✓ AAA ✕ AA Large ✓
Aa The quick brown fox
3.20:1

On black

AA ✕ AAA ✕ AA Large ✓

Tints, shades & tones

Systematic variations of Dark Violet — click any swatch to copy its hex.

Tintsmixed toward white
Shadesmixed toward black
Tonesmixed toward gray

Color harmonies

Palettes built from Dark Violet by rotating its hue. Each swatch links to its closest named color.

Use Dark Violet in your stack

Tailwind (arbitrary value)

Works for any property: text-[#9400d3], border-[#9400d3].

CSS custom property

Reference it anywhere with var(--color).

Build a full theme

Turn Dark Violet into a complete shadcn/ui palette — light & dark, contrast-checked, one-command install.

Extract a theme →

Similar named colors

← All CSS named colors