#201B2C#201B2C

#201B2C is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.6% C 0.033 H 297.3°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#201B2C
RGBrgb(32, 27, 44)
HSLhsl(258, 24%, 14%)
HSVhsv(258, 39%, 17%)
CMYKcmyk(27.3%, 38.6%, 0%, 82.7%)
CIE-LABlab(11.08, 7.04, -10.54)
CIE-LCHlch(11.08, 12.68, 303.74°)
OKLaboklab(23.62% 0.0151 -0.0291)
OKLCHoklch(23.62% 0.033 297.3)
XYZxyz(1.4421, 1.2728, 2.5521)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B2C #272C1B
analogous
#1B1F2C #201B2C #291B2C
triadic
#201B2C #2C201B #1B2C20
tetradic
#201B2C #2C1B1F #272C1B #1B2C29
square
#201B2C #2C1B1F #272C1B #1B2C29
split-complementary
#201B2C #2C291B #1F2C1B
monochromatic
#0E0C13 #0E0C13 #201B2C #3C3252 #574A78

Accessibility & contrast

On white

16.74
#201B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B2C
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B2C#FFFFFF#000000##FFFFFF
##201B2C1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2D
Deuteranopia (green-blind)
#181D2C
Tritanopia (blue-blind)
#1E1E21
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201b2c;
/* rgb */ color: rgb(32, 27, 44);
/* oklch */ color: oklch(23.6% 0.033 297.3);
Tailwind
colors: {
  custom: {
    50: '#5b5765',
    500: '#201b2c',
    950: '#000000',
  },
}
SCSS
$custom: #201b2c;
$custom-light: #5b5765;
$custom-dark: #000000;
JSON
{
  "hex": "#201b2c",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 257.647,
    "s": 23.944,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23622,
    "c": 0.03278,
    "h": 297.3
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#201B2C
secondary
#575F44
accent
#C067A6
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #201B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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