Darkviolet#9400D3

#9400D3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 51.5% C 0.261 H 309.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Darkviolet — editorial page

Color values

HEX#9400D3
RGBrgb(148, 0, 211)
HSLhsl(282, 100%, 41%)
HSVhsv(282, 100%, 83%)
CMYKcmyk(29.9%, 100%, 0%, 17.3%)
CIE-LABlab(39.58, 76.32, -70.37)
CIE-LCHlch(39.58, 103.81, 317.32°)
OKLaboklab(51.49% 0.1669 -0.2002)
OKLCHoklch(51.49% 0.261 309.8)
XYZxyz(23.9682, 10.9996, 62.4759)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9400D3 #3FD300
analogous
#2A00D3 #9400D3 #D300A9
triadic
#9400D3 #D39400 #00D394
tetradic
#9400D3 #D32A00 #3FD300 #00A9D3
square
#9400D3 #D32A00 #3FD300 #00A9D3
split-complementary
#9400D3 #A9D300 #00D32A
monochromatic
#3E0059 #690096 #9400D3 #B811FF #CA4EFF

Accessibility & contrast

On white

6.56
#9400D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9400D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9400D3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9400D3#FFFFFF#000000##FFFFFF
##9400D31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#8A4C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9400d3;
/* rgb */ color: rgb(148, 0, 211);
/* oklch */ color: oklch(51.5% 0.261 309.8);
Tailwind
colors: {
  custom: {
    50: '#ba67e2',
    500: '#9400d3',
    950: '#000000',
  },
}
SCSS
$custom: #9400d3;
$custom-light: #ba67e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9400d3",
  "rgb": {
    "r": 148,
    "g": 0,
    "b": 211
  },
  "hsl": {
    "h": 282.085,
    "s": 100,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.26068,
    "h": 309.8
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#9400D3
secondary
#7AE04F
accent
#FF2969
background
#FCF6FE
surface
#F8ECFC
border
#D1C7D5
text
#130715
muted
#827A84

Preview Lab

Preview with #9400D3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9400D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva