WordGPT

Dark violet color (#9400D3)

#9400D3 (Dark violet) is a vivid purple colour. It is rgb(148, 0, 211) in RGB and hsl(282, 100%, 41%) in HSL. Text in white reads better on it: the contrast is 6.56:1 against white and 3.20:1 against black.

#9400D3
Dark violet: #9400D3
Complementary#9400D3#3FD300Analogous#2A00D3#9400D3#D300A9Triadic#9400D3#D39400#00D394Tetradic (square)#9400D3#D32A00#3FD300#00A9D3Split complementary#9400D3#A9D300#00D32A
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
1900233100464a006a63008d7b00b09400d3a62bdab855e2ca80e9dbaaf0edd5f8
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#9400D3}:\quad R=\mathrm{94}_{16}=148,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{D3}_{16}=211
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=282∘,S=100%,L=41%H=282^\circ,\quad S=100\%,\quad L=41\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    282^\circ + 180^\circ = 102^\circ ;\Rightarrow; \mathrm{#3FD300}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=6.56:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.56:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#9400D3} = \mathrm{rgb}(148, 0, 211) \]
\[ \mathrm{#9400D3}:\quad R=\mathrm{94}_{16}=148,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{D3}_{16}=211 \]
\[ H=282^\circ,\quad S=100\%,\quad L=41\% \]
\[ 282^\circ + 180^\circ = 102^\circ ;\Rightarrow; \mathrm{#3FD300} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.56:1\ \text{(on white)} \]

Dark violet in every colour format

FormatValue
HEX#9400D3
RGBrgb(148, 0, 211)
RGB (percent)rgb(58.0%, 0.0%, 82.7%)
HSLhsl(282, 100%, 41%)
HSV / HSBhsv(282, 100%, 83%)
CMYKcmyk(30%, 100%, 0%, 17%)
Decimal9699539
Descriptionvivid purple
CSS namedarkviolet

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text6.56:1passpassfailpass
Black text3.20:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#190023 #310046 #4A006A #63008D #7B00B0
This colour#9400D3
Tints (mixed with white)#A62BDA #B855E2 #CA80E9 #DBAAF0 #EDD5F8

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0058D848
Deuteranopia#005FD055
Tritanopia#8A4C7B70
Grayscale#5D5D5D-

Nearest named colours

NameHex
Blue violet#8A2BE2
Dark orchid#9932CC
Medium blue#0000CD
Fuchsia#FF00FF

Questions

What is the RGB value of #9400D3?

rgb(148, 0, 211): red 148, green 0, blue 211.

What is the HSL value of #9400D3?

hsl(282, 100%, 41%): a hue of 282°, 100% saturation and 41% lightness.

What is the complementary colour of #9400D3?

#3FD300, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #6BFF2C.

Should I use white or black text on #9400D3?

White. White gives 6.56:1 and black 3.20:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #9400D3?

cmyk(30%, 100%, 0%, 17%). This is a simple formula conversion; printed colours depend on the printer profile.

Is #9400D3 a named colour?

Yes: it is the CSS colour name "darkviolet".

Matching colours

A little darker, a little lighter

Make a palette

    Dark violet (#9400D3): color code, RGB, HSL, shades and palettes | WordGPT