#200B40#200B40

#200B40 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.094 H 295.8°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#200B40
RGBrgb(32, 11, 64)
HSLhsl(264, 71%, 15%)
HSVhsv(264, 83%, 25%)
CMYKcmyk(50%, 82.8%, 0%, 74.9%)
CIE-LABlab(8.28, 24.58, -29.48)
CIE-LCHlch(8.28, 38.38, 309.82°)
OKLaboklab(22.03% 0.0407 -0.0844)
OKLCHoklch(22.03% 0.094 295.8)
XYZxyz(1.6405, 0.9165, 4.9400)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200B40 #2B400B
analogous
#0B1040 #200B40 #3B0B40
triadic
#200B40 #40200B #0B4020
tetradic
#200B40 #400B10 #2B400B #0B403B
square
#200B40 #400B10 #2B400B #0B403B
split-complementary
#200B40 #403B0B #10400B
monochromatic
#0D041A #0D041A #200B40 #3A1474 #541DA8

Accessibility & contrast

On white

17.75
#200B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#200B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200B40
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200B40#FFFFFF#000000##FFFFFF
##200B401.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#171924
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #200b40;
/* rgb */ color: rgb(32, 11, 64);
/* oklch */ color: oklch(22.0% 0.094 295.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c75',
    500: '#200b40',
    950: '#000000',
  },
}
SCSS
$custom: #200b40;
$custom-light: #5f4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#200b40",
  "rgb": {
    "r": 32,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 263.774,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22026,
    "c": 0.09369,
    "h": 295.8
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#200B40
secondary
#5C7D2A
accent
#ED3AA6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200B40

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

Preview Lab → · Contrast checker → · Palette generator →

#200B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva