#201726#201726

#201726 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.3% C 0.031 H 311.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#201726
RGBrgb(32, 23, 38)
HSLhsl(276, 25%, 12%)
HSVhsv(276, 39%, 15%)
CMYKcmyk(15.8%, 39.5%, 0%, 85.1%)
CIE-LABlab(9.48, 8.25, -8.59)
CIE-LCHlch(9.48, 11.91, 313.85°)
OKLaboklab(22.29% 0.0207 -0.0235)
OKLCHoklch(22.29% 0.031 311.3)
XYZxyz(1.2519, 1.0598, 1.9720)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201726 #1D2617
analogous
#191726 #201726 #261725
triadic
#201726 #262017 #172620
tetradic
#201726 #261917 #1D2617 #172526
square
#201726 #261917 #1D2617 #172526
split-complementary
#201726 #252617 #172619
monochromatic
#100C13 #100C13 #201726 #402E4C #604572

Accessibility & contrast

On white

17.33
#201726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201726
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201726#FFFFFF#000000##FFFFFF
##2017261.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A27
Deuteranopia (green-blind)
#161B26
Tritanopia (blue-blind)
#1F191C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201726;
/* rgb */ color: rgb(32, 23, 38);
/* oklch */ color: oklch(22.3% 0.031 311.3);
Tailwind
colors: {
  custom: {
    50: '#5b5460',
    500: '#201726',
    950: '#000000',
  },
}
SCSS
$custom: #201726;
$custom-light: #5b5460;
$custom-dark: #000000;
JSON
{
  "hex": "#201726",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 276,
    "s": 24.59,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22291,
    "c": 0.03133,
    "h": 311.3
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#201726
secondary
#4A5A3F
accent
#C1678B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201726

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

Preview Lab → · Contrast checker → · Palette generator →

#201726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva