#201B2A#201B2A

#201B2A is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.5% C 0.029 H 299.4°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#201B2A
RGBrgb(32, 27, 42)
HSLhsl(260, 22%, 14%)
HSVhsv(260, 36%, 16%)
CMYKcmyk(23.8%, 35.7%, 0%, 83.5%)
CIE-LABlab(10.98, 6.43, -9.24)
CIE-LCHlch(10.98, 11.26, 304.85°)
OKLaboklab(23.51% 0.0143 -0.0254)
OKLCHoklch(23.51% 0.029 299.4)
XYZxyz(1.4054, 1.2581, 2.3588)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B2A #252A1B
analogous
#1B1D2A #201B2A #271B2A
triadic
#201B2A #2A201B #1B2A20
tetradic
#201B2A #2A1B1D #252A1B #1B2A27
square
#201B2A #2A1B1D #252A1B #1B2A27
split-complementary
#201B2A #2A271B #1D2A1B
monochromatic
#0E0C13 #0E0C13 #201B2A #3C334F #594B75

Accessibility & contrast

On white

16.78
#201B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#201B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B2A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B2A#FFFFFF#000000##FFFFFF
##201B2A1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D2B
Deuteranopia (green-blind)
#191D2A
Tritanopia (blue-blind)
#1E1D20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201b2a;
/* rgb */ color: rgb(32, 27, 42);
/* oklch */ color: oklch(23.5% 0.029 299.4);
Tailwind
colors: {
  custom: {
    50: '#5b5763',
    500: '#201b2a',
    950: '#000000',
  },
}
SCSS
$custom: #201b2a;
$custom-light: #5b5763;
$custom-dark: #000000;
JSON
{
  "hex": "#201b2a",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 260,
    "s": 21.739,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23507,
    "c": 0.02918,
    "h": 299.4
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#201B2A
secondary
#545D44
accent
#BE6AA2
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #201B2A

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

Preview Lab → · Contrast checker → · Palette generator →

#201B2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva