Dark Violet
#9400D3rgb(148, 0, 211)hsl(282, 100%, 41%)
Dark Violet is #9400D3, rgb(148, 0, 211).
In CSS: darkviolet
Colors that go with Dark Violet
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whitePass6.56 : 1
- On ink blackFail2.92 : 1
About Dark Violet
Dark Violet is the hex color #9400D3, which translates to rgb(148, 0, 211) in RGB and hsl(282, 100%, 41%) in HSL. On the color wheel it sits at 282 degrees, with a saturation of 100 percent and a lightness of 41 percent. Its OKLCH chroma of 0.261 is high, so Dark Violet is one of the more vivid purple tones here and is easy to overuse at large sizes.
How Dark Violet compares
Dark Violet is exactly the CSS keyword darkviolet, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is purple-700 (#8200DB), at a distance of 8.2. Inside this library the closest neighbour is Blue Violet at 8.3. Sorted by lightness, Dark Violet is number 7 of the 31 purple colors here.
Text on Dark Violet
2 of the five common text colors below clear WCAG AA for normal text on Dark Violet, led by White at 6.56:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Dark Violet already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 6.56:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 2.92:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.36:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.57:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 5.30:1 | Pass | Pass | Fail |
Building a palette around Dark Violet
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Dark Violet for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Dark Violet locked and let it fill in the rest.
Full values for Dark Violet
| Format | Value |
|---|---|
| HEX | #9400D3 |
| RGB | rgb(148, 0, 211) |
| HSL | hsl(282, 100%, 41%) |
| HSV | hsv(282, 100%, 83%) |
| CMYK | cmyk(30%, 100%, 0%, 17%) |
| OKLCH | oklch(51.49% 0.2607 309.81) |
| CIELAB | lab(39.58 76.32 -70.37) |
Frequently asked questions
What is the RGB value of Dark Violet?
Dark Violet (#9400D3) is rgb(148, 0, 211): 148 red, 0 green and 211 blue on the 0 to 255 scale. Blue leads at 211, red follows at 148 and green trails at 0, which puts the hue at 282 degrees. In HSL the same color is hsl(282, 100%, 41%).
What colour is #9400D3?
#9400D3 is Dark Violet, a mid purple colour with a hue of 282 degrees, 100% saturation and 41% lightness. For print the CMYK breakdown is 30% cyan, 100% magenta, 0% yellow and 17% black. Its nearest neighbour in this library is Blue Violet, 8.3 away in CIELAB, a difference you can see.
Is Dark Violet a CSS color name?
Yes. The keyword darkviolet is one of the 148 named colors in CSS Color Module Level 4, so color: darkviolet; renders exactly #9400D3.
What colors go with Dark Violet?
Opposite Dark Violet on the color wheel sits the complementary #3FD300, the boldest accent by hue. For a calmer scheme use the analogous neighbours #2B00D3 (close to Medium Blue) and #D300A8; for a balanced three-color scheme use the triadic pair #D39400 and #00D394. Of these, #00D394 has the most contrast against Dark Violet, at 3.36:1, enough for icons and large text.
What text color is readable on Dark Violet?
White (#FFFFFF) is the most readable on Dark Violet, at 6.56:1, which clears WCAG AA (4.5:1) but not AAA. 2 of the 5 common text colors tested pass AA for normal text.
Use Dark Violet in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.