Dark Violet color — #9400D3
Dark Violet is a CSS named color with the HEX code #9400D3, RGB value rgb(148, 0, 211) and HSL value hsl(282, 100%, 41%).
Purple
Dark Violet
#9400D3
Color codes
- 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)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: darkviolet;
background-color: #9400d3;
border-color: rgb(148, 0, 211);
outline-color: hsl(282, 100%, 41%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Dark Violet — On white6.56:1 · AA
Dark Violet — On black3.19:1 · AA Large