#200940#200940

#200940 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.096 H 296.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#200940
RGBrgb(32, 9, 64)
HSLhsl(265, 75%, 14%)
HSVhsv(265, 86%, 25%)
CMYKcmyk(50%, 85.9%, 0%, 74.9%)
CIE-LABlab(7.88, 25.70, -30.12)
CIE-LCHlch(7.88, 39.59, 310.47°)
OKLaboklab(21.75% 0.0429 -0.0863)
OKLCHoklch(21.75% 0.096 296.4)
XYZxyz(1.6185, 0.8726, 4.9326)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200940 #294009
analogous
#090E40 #200940 #3C0940
triadic
#200940 #402009 #094020
tetradic
#200940 #40090E #294009 #09403C
square
#200940 #40090E #294009 #09403C
split-complementary
#200940 #403C09 #0E4009
monochromatic
#0D041B #0D041B #200940 #3B1176 #5618AB

Accessibility & contrast

On white

17.88
#200940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#200940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200940
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200940#FFFFFF#000000##FFFFFF
##2009401.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #200940;
/* rgb */ color: rgb(32, 9, 64);
/* oklch */ color: oklch(21.7% 0.096 296.4);
Tailwind
colors: {
  custom: {
    50: '#604b75',
    500: '#200940',
    950: '#000000',
  },
}
SCSS
$custom: #200940;
$custom-light: #604b75;
$custom-dark: #000000;
JSON
{
  "hex": "#200940",
  "rgb": {
    "r": 32,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 265.091,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21748,
    "c": 0.09632,
    "h": 296.4
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#200940
secondary
#5A7E27
accent
#F236A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #200940

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

Preview Lab → · Contrast checker → · Palette generator →

#200940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva