#200B31#200B31

#200B31 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.6% C 0.073 H 306.4°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#200B31
RGBrgb(32, 11, 49)
HSLhsl(273, 63%, 12%)
HSVhsv(273, 78%, 19%)
CMYKcmyk(34.7%, 77.6%, 0%, 80.8%)
CIE-LABlab(6.94, 19.76, -20.77)
CIE-LCHlch(6.94, 28.66, 313.58°)
OKLaboklab(20.6% 0.0435 -0.059)
OKLCHoklch(20.6% 0.073 306.4)
XYZxyz(1.2696, 0.7682, 2.9865)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200B31 #1C310B
analogous
#0D0B31 #200B31 #310B2F
triadic
#200B31 #31200B #0B3120
tetradic
#200B31 #310D0B #1C310B #0B2F31
square
#200B31 #310D0B #1C310B #0B2F31
split-complementary
#200B31 #2F310B #0B310D
monochromatic
#100619 #100619 #200B31 #411663 #612195

Accessibility & contrast

On white

18.20
#200B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#200B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200B31
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200B31#FFFFFF#000000##FFFFFF
##200B311.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#041530
Tritanopia (blue-blind)
#1D131C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #200b31;
/* rgb */ color: rgb(32, 11, 49);
/* oklch */ color: oklch(20.6% 0.073 306.4);
Tailwind
colors: {
  custom: {
    50: '#5d4b69',
    500: '#200b31',
    950: '#000000',
  },
}
SCSS
$custom: #200b31;
$custom-light: #5d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#200b31",
  "rgb": {
    "r": 32,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 273.158,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.206,
    "c": 0.07335,
    "h": 306.4
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#200B31
secondary
#486E2A
accent
#E6418B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200B31

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

Preview Lab → · Contrast checker → · Palette generator →

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