#201B2F#201B2F

#201B2F is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.8% C 0.038 H 294.8°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#201B2F
RGBrgb(32, 27, 47)
HSLhsl(255, 27%, 15%)
HSVhsv(255, 43%, 18%)
CMYKcmyk(31.9%, 42.6%, 0%, 81.6%)
CIE-LABlab(11.25, 7.98, -12.47)
CIE-LCHlch(11.25, 14.81, 302.62°)
OKLaboklab(23.8% 0.016 -0.0347)
OKLCHoklch(23.8% 0.038 294.8)
XYZxyz(1.5006, 1.2962, 2.8599)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B2F #2A2F1B
analogous
#1B202F #201B2F #2A1B2F
triadic
#201B2F #2F201B #1B2F20
tetradic
#201B2F #2F1B20 #2A2F1B #1B2F2A
square
#201B2F #2F1B20 #2A2F1B #1B2F2A
split-complementary
#201B2F #2F2A1B #202F1B
monochromatic
#0D0B13 #0D0B13 #201B2F #3A3156 #55487D

Accessibility & contrast

On white

16.68
#201B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B2F
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B2F#FFFFFF#000000##FFFFFF
##201B2F1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#161E2E
Tritanopia (blue-blind)
#1D1E22
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #201b2f;
/* rgb */ color: rgb(32, 27, 47);
/* oklch */ color: oklch(23.8% 0.038 294.8);
Tailwind
colors: {
  custom: {
    50: '#5c5767',
    500: '#201b2f',
    950: '#000000',
  },
}
SCSS
$custom: #201b2f;
$custom-light: #5c5767;
$custom-dark: #000000;
JSON
{
  "hex": "#201b2f",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 255,
    "s": 27.027,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.03819,
    "h": 294.8
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#201B2F
secondary
#5B6343
accent
#C364AC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #201B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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