#9400D3

DarkViolet — Color Codes & Palette

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

Color Codes

Format Value
HEX #9400D3
RGB rgb(148, 0, 211)
HSL hsl(282, 100%, 41%)

Shades of DarkViolet

#8400BD#7600A8#680094#590080#4B006B#3D0057#2E0042#20002E

Tints of DarkViolet

#A800F0#B70FFF#C02EFF#C94DFF#D36BFF#DC8AFF#E5A8FF#EEC7FF

Color Pairings & Harmony

Complementary
#3FD100
Analogous +30°
#D100A7
Analogous −30°
#2A00D1
Triadic +120°
#D19200
Triadic −120°
#00D192

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
6.56:1 — AA pass for normal text
vs. Black (#000000)
3.20:1 — AA pass for large text only

CSS Snippet

.element {
  color: #9400D3;
}

.element-bg {
  background-color: #9400D3;
  color: #ffffff;
}

.element-border {
  border: 2px solid #9400D3;
}

About DarkViolet

DarkViolet is a medium color with vivid, highly saturated, defined by the hex code #9400D3. Its exact color model values are rgb(148, 0, 211) in RGB and hsl(282, 100%, 41%) in HSL (hue 282°, saturation 100%, lightness 41%). On a white background the contrast ratio is 6.56:1 — AA pass for normal text, and on black it is 3.20:1 — AA pass for large text only. Use DarkViolet for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of DarkViolet?
The RGB value of DarkViolet (#9400D3) is rgb(148, 0, 211). Red = rgb(148, 0, 211), representing the amounts of red, green, and blue light on a 0–255 scale.
Is DarkViolet accessible on a white background?
The contrast ratio of DarkViolet on white (#FFFFFF) is 6.56:1 — AA pass for normal text. On black (#000000) the contrast ratio is 3.20:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with DarkViolet?
Based on color theory, DarkViolet (hsl(282, 100%, 41%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.