HueWiz / Colors / Darkviolet
#9400D3

Darkviolet

Darkviolet is a vivid, fully saturated, dark cool purple (#9400D3).

Build palettes with Darkviolet →

Using Darkviolet in your designs

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.

Darkviolet color palettes

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.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Tints and shades of Darkviolet

Tints mix darkviolet toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.

Shades → base → tints

Contrast & accessibility

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).

PairingRatioNormal textLarge text
White text on Darkviolet6.56:1AAAAA
Black text on Darkviolet3.20:1FailAA
Protanopia#5453A0
Deuteranopia#5C6894
Tritanopia#8D786F

Darkviolet in code

Copy-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 CSS v4

@import "tailwindcss";

@theme {
  --color-darkviolet: #9400D3;
  --color-darkviolet-light: #C473E7;
  --color-darkviolet-dark: #510074;
}

Generate a complete ramp and semantic roles in the Tailwind color generator.

Tailwind CSS v3 — extend your theme

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        darkviolet: { DEFAULT: "#9400D3", light: "#C473E7", dark: "#510074" }
      }
    }
  }
};

Colors similar to Darkviolet

The closest CSS named colors by perceptual (Lab) distance.

← PreviousdarkturquoiseNext →deeppink
Copied