Dark Violet
#9400D3About 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.
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) |
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.