#201B2E#201B2E

#201B2E is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.7% C 0.036 H 295.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#201B2E
RGBrgb(32, 27, 46)
HSLhsl(256, 26%, 14%)
HSVhsv(256, 41%, 18%)
CMYKcmyk(30.4%, 41.3%, 0%, 82%)
CIE-LABlab(11.19, 7.66, -11.83)
CIE-LCHlch(11.19, 14.10, 302.93°)
OKLaboklab(23.74% 0.0157 -0.0328)
OKLCHoklch(23.74% 0.036 295.6)
XYZxyz(1.4806, 1.2882, 2.7549)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B2E #292E1B
analogous
#1B202E #201B2E #2A1B2E
triadic
#201B2E #2E201B #1B2E20
tetradic
#201B2E #2E1B20 #292E1B #1B2E2A
square
#201B2E #2E1B20 #292E1B #1B2E2A
split-complementary
#201B2E #2E2A1B #202E1B
monochromatic
#0D0B13 #0D0B13 #201B2E #3B3255 #56487B

Accessibility & contrast

On white

16.70
#201B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#201B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B2E
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B2E#FFFFFF#000000##FFFFFF
##201B2E1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#1D1E22
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201b2e;
/* rgb */ color: rgb(32, 27, 46);
/* oklch */ color: oklch(23.7% 0.036 295.6);
Tailwind
colors: {
  custom: {
    50: '#5c5766',
    500: '#201b2e',
    950: '#000000',
  },
}
SCSS
$custom: #201b2e;
$custom-light: #5c5766;
$custom-dark: #000000;
JSON
{
  "hex": "#201b2e",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 255.789,
    "s": 26.027,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23741,
    "c": 0.03639,
    "h": 295.6
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#201B2E
secondary
#5A6143
accent
#C265AA
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #201B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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