Dark Violet

Dark Violet is #9400D3. As text it scores 6.56:1 on white and 3.19:1 on black, so it is usable for body copy on white.

9400d3

Conversion

The same colour in each notation. OKLCH is the one to reach for when you intend to modify it, because its lightness axis is perceptually uniform and its three components are genuinely independent.

HEX
#9400D3
RGB
rgb(148 0 211)
OKLCH
oklch(51.5% 0.261 309.8)

Contrast and accessibility

What this colour passes as text, and — where it fails — the nearest colour that would pass while holding the same hue.

Body text at 16px

On white6.56:1

AA for body text

Body text at 16px

On black3.19:1

Large text and UI only

Use #ad35ee instead

APCA scores it Lc 80 as 16px regular text on white. That is below the threshold for body copy at that size, even where the WCAG ratio passes.

Using Dark Violet

In OKLCH terms this is a purple at 51% lightness and 0.26 chroma. Lightness is what decides every verdict below, which is why a colour can be perfect as a fill and unusable as the text on top of it.

  • Body text on white6.56:1 clears the 4.5:1 minimum.yes
  • Body text on black3.19:1 is under the 4.5:1 minimum.no
  • Large text or headingsLarge text needs only 3:1, and this reaches 6.56:1 against white.yes
  • Borders, icons and controlsClears the 3:1 that WCAG 1.4.11 asks of anything needed to identify a control.yes
  • A background for white textWhite on this colour is 6.56:1.yes

None of this makes a design accessible on its own. Contrast is one success criterion among many, and WCAG 1.4.1 separately requires that colour is never the only way information is conveyed — so if Dark Violet is carrying meaning here, give it a label or an icon as well.

Closest named colours

Ranked by CIEDE2000 perceptual distance, not by hex proximity. Two hex codes can look almost identical and sit far apart numerically, and the reverse.

Tints and shades

The same hue at eleven lightness steps, spaced evenly in OKLCH so they look evenly spaced. This is the family you would build a design system from.

Colour harmonies

Hue rotations around Dark Violet, computed in OKLCH so every colour in a set holds the same perceived lightness — which is what a harmony is supposed to mean and what the same rotation in HSL fails to deliver.

Analogous

Complementary

Triadic

Split complementary

Colour vision

How Dark Violet appears under each simulated deficiency, using the Machado model applied to linear RGB.

Typical vision
Deuteranomaly
Deuteranopia
Protanomaly
Protanopia
Tritanomaly
Tritanopia
Achromatomaly
Achromatopsia

Open Dark Violet in the contrast checker, the ramp generator, or the palette generator.