#201B28#201B28

#201B28 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.4% C 0.026 H 302.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#201B28
RGBrgb(32, 27, 40)
HSLhsl(263, 19%, 13%)
HSVhsv(263, 33%, 16%)
CMYKcmyk(20%, 32.5%, 0%, 84.3%)
CIE-LABlab(10.88, 5.84, -7.92)
CIE-LCHlch(10.88, 9.84, 306.40°)
OKLaboklab(23.4% 0.0136 -0.0217)
OKLCHoklch(23.4% 0.026 302.1)
XYZxyz(1.3705, 1.2441, 2.1750)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B28 #23281B
analogous
#1B1C28 #201B28 #261B28
triadic
#201B28 #28201B #1B2820
tetradic
#201B28 #281B1C #23281B #1B2826
square
#201B28 #281B1C #23281B #1B2826
split-complementary
#201B28 #28261B #1C281B
monochromatic
#0F0C12 #0F0C12 #201B28 #3D344D #5A4C71

Accessibility & contrast

On white

16.82
#201B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B28
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B28#FFFFFF#000000##FFFFFF
##201B281.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D29
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#1F1D20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201b28;
/* rgb */ color: rgb(32, 27, 40);
/* oklch */ color: oklch(23.4% 0.026 302.1);
Tailwind
colors: {
  custom: {
    50: '#5b5761',
    500: '#201b28',
    950: '#000000',
  },
}
SCSS
$custom: #201b28;
$custom-light: #5b5761;
$custom-dark: #000000;
JSON
{
  "hex": "#201b28",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 263.077,
    "s": 19.403,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23397,
    "c": 0.02558,
    "h": 302.1
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#201B28
secondary
#525A45
accent
#BC6C9D
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #201B28

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

Preview Lab → · Contrast checker → · Palette generator →

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