Dark Violet color: hex code #9400D3
Dark Violet has the hex code #9400D3. It is a vivid magenta.
In the RGB color model it is made of 58% red, 0% green and 82.7% blue (148, 0, 211).
Its hue angle is 282°, with 100% saturation and 41% lightness. For print, the CMYK equivalent is 30% cyan, 100% magenta, 0% yellow and 17% black.
You can use it in CSS with the keyword darkviolet.
White text is the more readable choice on this background (contrast 6.56:1).
Dark Violet (#9400D3) color codes
| HEX | #9400D3 | |
|---|---|---|
| RGB | rgb(148, 0, 211) | |
| RGB percent | rgb(58%, 0%, 82.7%) | |
| HSL | hsl(282, 100%, 41%) | |
| HSV / HSB | hsv(282, 100%, 83%) | |
| CMYK | cmyk(30%, 100%, 0%, 17%) | |
| CIE LAB | lab(39.58, 76.32, -70.37) | |
| CIE LCH | lch(39.58, 103.81, 317.32) | |
| CIE XYZ | xyz(23.968, 11, 62.476) | |
| Decimal | 9699539 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Dark Violet, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #9400D3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.2:1 | Fail | Fail | Pass |
| Sample text | 6.56:1 | Pass | Fail | Pass |
| #9400D3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.56:1 | Pass | Fail | Pass |
| Sample text | 3.2:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #9400D3 looks to people with the most common types of color vision deficiency.
#0058d8Protanopia
no red cones#005fd0Deuteranopia
no green cones#8a4c7bTritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #9400d3; }
.text { color: #9400d3; }
.border { border: 2px solid #9400d3; }
.transparent { background-color: rgb(148 0 211 / 50%); }
.gradient { background: linear-gradient(to right, #9400d3, #d300a9); }
Similar colors
#8822ccLilac Spring#9b1dcdProm Queen#a104c3Nebula#8601bfViolet Poison#8a2be2Blue Violet#9632ceDreamscape Purple#aa00ccFerocious Fuchsia#9601f4Cosmic Heart
See #9400D3 on its hex code page
Questions
- What color is #9400D3?
- #9400D3 is a vivid magenta known as Dark Violet. It belongs to the purple family of colors.
- What is the RGB value of Dark Violet?
- The RGB value is 148, 0, 211: 148 red, 0 green and 211 blue on a 0 to 255 scale.
- What is the complementary color of Dark Violet?
- The complementary color is #3FD300, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9400D3?
- White text. Black text has a contrast ratio of 3.2:1 and white text 6.56:1. WCAG asks for at least 4.5:1 for normal text.