#201D28#201D28

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

Color values

HEX#201D28
RGBrgb(32, 29, 40)
HSLhsl(256, 16%, 14%)
HSVhsv(256, 28%, 16%)
CMYKcmyk(20%, 27.5%, 0%, 84.3%)
CIE-LABlab(11.55, 4.36, -6.91)
CIE-LCHlch(11.55, 8.16, 302.25°)
OKLaboklab(23.91% 0.0097 -0.0188)
OKLCHoklch(23.91% 0.021 297.3)
XYZxyz(1.4180, 1.3390, 2.1908)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D28 #25281D
analogous
#1D1F28 #201D28 #251D28
triadic
#201D28 #28201D #1D2820
tetradic
#201D28 #281D1F #25281D #1D2825
square
#201D28 #281D1F #25281D #1D2825
split-complementary
#201D28 #28251D #1F281D
monochromatic
#0E0D12 #0E0D12 #201D28 #3C374B #59506F

Accessibility & contrast

On white

16.56
#201D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#201D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D28
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D28#FFFFFF#000000##FFFFFF
##201D281.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F28
Deuteranopia (green-blind)
#1B1E28
Tritanopia (blue-blind)
#1F1F21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201d28;
/* rgb */ color: rgb(32, 29, 40);
/* oklch */ color: oklch(23.9% 0.021 297.3);
Tailwind
colors: {
  custom: {
    50: '#5b5861',
    500: '#201d28',
    950: '#000000',
  },
}
SCSS
$custom: #201d28;
$custom-light: #5b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#201d28",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 256.364,
    "s": 15.942,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23912,
    "c": 0.0212,
    "h": 297.3
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#201D28
secondary
#545947
accent
#B96FA5
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879

Preview Lab

Preview with #201D28

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

Preview Lab → · Contrast checker → · Palette generator →

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