Toolman

Darkviolet — #9400D3

#9400D3#9400D3

#9400D3 is a medium, vivid violet. It is the CSS named color darkviolet.

Color values

HEX#9400D3
RGBrgb(148, 0, 211)
HSLhsl(282, 100%, 41%)
CMYKcmyk(30%, 100%, 0%, 17%)
Decimal9699539
CSScolor: #9400D3;
Android0xFF9400D3
SwiftUIColor(red: 0.580, green: 0.000, blue: 0.827, alpha: 1)

Accessibility and contrast

White text on #9400D36.56:1 — AA pass · AA large pass · AAA fail
Black text on #9400D33.20:1 — AA fail · AA large pass · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #9400D3

Each swatch keeps the hue and saturation of #9400D3 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #9400D3

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #9400D3 in code

/* CSS */
.element { color: #9400D3; background-color: #9400D3; }
.element { color: rgb(148 0 211); }
.element { color: hsl(282 100% 41%); }

/* Tailwind arbitrary value */
<div class="bg-[#9400D3] text-white">

/* SCSS variable */
$brand: #9400D3;

Frequently asked questions

What color is #9400D3?

#9400D3 is a medium, vivid violet, which CSS calls darkviolet. Its hue sits at 282° on the color wheel, with 100% saturation and 41% lightness.

What is #9400D3 in RGB?

#9400D3 converts to rgb(148, 0, 211) — 148 red, 0 green and 211 blue.

What is #9400D3 in CMYK?

Approximately cmyk(30%, 100%, 0%, 17%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #9400D3 be white or black?

White gives the better contrast ratio (6.56:1 versus 3.20:1).

What is the complementary color of #9400D3?

#3FD100 — the hue directly opposite #9400D3 on the color wheel.

Convert any color → · Browse all colors