AfoliOpen Afoli →

Dark Violet color #9400D3

Dark Violet is one of the CSS named colors (keyword darkviolet) with the hex code #9400D3 — RGB 148, 0, 211, HSL 282°, 100%, 41%.

Open in Afoli Colour tools →

#9400D3Dark Violet

Color codes

HEX
#9400D3
RGB
rgb(148, 0, 211)
HSL
hsl(282, 100%, 41%)
CMYK
30%, 100%, 0%, 17%
OKLCH
oklch(51.5% 0.261 309.8)
CSS keyword
darkviolet

Tints and shades

#F9F2FF#E9CDFF#DAA7FF#CB7DFF#BC48FF#A225E3#8600BF#670094#49006B#2E0045#150023

Color harmonies

Complementary
#9400D3#4C7600
Analogous
#5838F6#9400D3#B2008F
Triadic
#9400D3#905A00#007773
Split complementary
#9400D3#766800#007B4F
Tetradic
#9400D3#B03B00#4C7600#00738C

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Dark Violet text on white6.56 : 180AA — body text
Dark Violet text on black3.20 : 1-22AA for large text only
White text on Dark Violet6.56 : 1-85AA — body text
Black text on Dark Violet3.20 : 124AA for large text only

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Frequently asked questions

What is the hex code of Dark Violet?

Dark Violet has the hex code #9400D3, which is RGB 148, 0, 211 and HSL 282°, 100%, 41%.

Which text color reads best on Dark Violet?

White text: contrast 6.56 : 1 (black text: 3.20 : 1).

Which colors go well with Dark Violet?

Its complementary color is #4C7600; analogous colors are #5838F6 and #B2008F; a triadic set adds #905A00 and #007773.

Similar colors

Sources and licences

Updated November 21, 2026