Dark Violet — #9400d3

Dark Violet (#9400d3) is a medium, vivid purple. It is a CSS named color, so you can use it in stylesheets as color: darkviolet as well as by its hex code. In RGB it is rgb(148, 0, 211); in HSL, hsl(282, 100%, 41%).

#9400d3

Color conversions

Hex#9400d3
CSS namedarkviolet
RGBrgb(148, 0, 211)
HSLhsl(282, 100%, 41%)
CMYK30%, 100%, 0%, 17%
CSS examplecolor: #9400d3; background-color: rgb(148, 0, 211);

Tints and shades of #9400d3

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #9400d3

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #9400d3 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)6.56:1AAAAA
Black text (#000000)3.20:1FailsAA

Similar named colors

The CSS named colors closest to #9400d3: