Darkviolet colour (#9400D3)

Darkviolet is medium a purple with hex code #9400D3, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 148, 0, 211; in HSL 282°, 100%, 41%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Darkviolet colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Darkviolet in every format

FormatValue
HEX#9400D3
RGBrgb(148, 0, 211)
RGB (0–1)0.580, 0.000, 0.827
HSLhsl(282, 100%, 41%)
CMYK (approx.)30%, 100%, 0%, 17%
CSScolor: darkviolet;

Shades and tints of Darkviolet

Same hue and saturation, lightness from 90% to 10%:

#f0ccff #e099ff #d166ff #c233ff #b300ff #8f00cc #6b0099 #470066 #240033

Colours that go with Darkviolet

HarmonyColours
Complementary #3fd100
Triadic #d19200 #00d192
Analogous #d100a7 #2a00d1

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
blueviolet #8a2be2close
darkorchid #9932ccclose
darkmagenta #8b008bclose
purple #800080noticeably different
rebeccapurple #663399noticeably different

Accessibility

Contrast ratio of Darkviolet against white is 6.56:1 (passes WCAG AA for normal text) and against black 3.2:1 (fails). Use Darkviolet for text on white backgrounds.

Frequently asked questions

What is the hex code for Darkviolet?

#9400D3.

What is Darkviolet in RGB?

rgb(148, 0, 211).

What colour is complementary to Darkviolet?

#3fd100, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.