Skip to content
ColorScreens

Dark violet

#9400D3

Dark violet is the hex color #9400D3, with RGB values 148, 0, 211. It is a CSS color keyword, so browsers render it from the name alone, and its value is fixed by the CSS Color Module.

PurpleCSS keyword

Quick colors, then fill the screen

Or a gradient

Or let it move

#9400D3rgb(148, 0, 211) · hsl(282, 100%, 41%)

Dark violet color codes

Every value for #9400D3, ready to paste. Click any code to copy it.

Channel values for #9400D3 in each number base
ChannelDecimalShareHexOctalBinary
Red14858.04%9422410010100
Green00%00000000000
Blue21182.75%D332311010011

The nearest web-safe color is #9900CC, from the 216-color palette browsers agreed on before displays could be trusted with more.

About dark violet

Fully saturated at 282 degrees, well past blue and into true violet. Dark enough to carry body text on white at 6.6 to 1, which almost no fully saturated color manages.

Family
Purple, 12th lightest of 15 purples
Web-safe
is the nearest

Shades, tints and tones

Every step is generated from #9400D3. Click a swatch to copy its hex.

Shades of dark violet

A shade is the base color with black mixed in. Shades read as deeper and more dramatic, and they are what you reach for when a color needs to recede or carry weight.

Tints of dark violet

A tint is the base color with white mixed in. Tints turn pastel as they lighten, which makes them useful for backgrounds and for anything that has to sit behind text.

Tones of dark violet

A tone is the base color with gray mixed in. Tones lose the shout without losing the hue, and they are usually what separates a considered palette from a loud one.

The dark violet scale

The same color as the 50 to 950 ladder every CSS framework uses, with #9400D3 at 500. Click a step to copy its hex, or take the whole scale as variables for a design system.

Color schemes built on dark violet

Harmonies are positions on the color wheel rather than matters of taste, which is why they keep working across very different designs.

Complementary

Two colors from opposite sides of the wheel. They make each other look more vivid, which is why the pairing is used for anything that needs to stand out.

Analogous

Three neighbors on the wheel. Nothing competes, so the result reads calm and settled, closer to how color behaves in nature.

Split complementary

The base plus the two colors either side of its complement. It keeps most of the contrast while being much easier to balance.

Triadic

Three colors spaced evenly around the wheel. Strong and lively, and usually best with one dominant color and two accents.

Tetradic

Two complementary pairs, forming a rectangle on the wheel. The richest scheme available, and the hardest to keep from shouting.

Monochromatic

One hue at different lightness levels. Effortlessly cohesive, and the safest way to build a palette around a brand color.

Colors close to #9400D3

Near neighbors, for when this color is almost right. Each one shifts hue, saturation or lightness by a small step.

Dark violet color palettes

Five-color palettes built around #9400D3, each following a different scheme. Click any swatch to copy it, or open the generator to build your own.

Analogous

Complementary

Triadic

Monochromatic

Open the palette generator to lock the colors you like and regenerate the rest.

Contrast and readability

Whether dark violet works as text, and what to put on top of it when it is the background. Ratios follow WCAG 2.1, where 4.5 is the bar for body text and 3 for large text.

Dark violet text on white background

6.56:1 · Good

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Dark violet text on black background

3.2:1 · Large text only

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Used the other way round, #9400D3 as a background takes #FFFFFF text. That is the higher-contrast of the two, and it is what the tool picks automatically for any chrome sitting on your color.

Dark violet reads better on a white background of the two. Contrast is a property of the pair, not of one color, so a color that fails here can still be perfectly usable against a different partner.

Share

The purple family

Dark violet sits in the purple family. Every named purple in the library, with dark violet first.

SwatchNameHexRGBHSL
Dark violet is a CSS keyword is the color on this page#9400D3148, 0, 211282, 100%, 41%
Purple is a CSS keyword#800080128, 0, 128300, 100%, 25%
Lavender is a CSS keyword#E6E6FA230, 230, 250240, 67%, 94%
Mauve#E0B0FF224, 176, 255276, 100%, 85%
Violet is a CSS keyword#EE82EE238, 130, 238300, 76%, 72%
Plum is a CSS keyword#DDA0DD221, 160, 221300, 47%, 75%
Orchid is a CSS keyword#DA70D6218, 112, 214302, 59%, 65%
Lilac#C8A2C8200, 162, 200300, 26%, 71%
Amethyst#9966CC153, 102, 204270, 50%, 60%
Eggplant#61405197, 64, 81329, 20%, 32%
Dark orchid is a CSS keyword#9932CC153, 50, 204280, 61%, 50%
Thistle is a CSS keyword#D8BFD8216, 191, 216300, 24%, 80%
Rebecca purple is a CSS keyword#663399102, 51, 153270, 50%, 40%
Medium orchid is a CSS keyword#BA55D3186, 85, 211288, 59%, 58%
Medium purple is a CSS keyword#9370DB147, 112, 219260, 60%, 65%