#201A2B#201A2B

#201A2B is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.3% C 0.033 H 300.1°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#201A2B
RGBrgb(32, 26, 43)
HSLhsl(261, 25%, 14%)
HSVhsv(261, 40%, 17%)
CMYKcmyk(25.6%, 39.5%, 0%, 83.1%)
CIE-LABlab(10.71, 7.48, -10.39)
CIE-LCHlch(10.71, 12.81, 305.75°)
OKLaboklab(23.32% 0.0166 -0.0287)
OKLCHoklch(23.32% 0.033 300.1)
XYZxyz(1.4010, 1.2203, 2.4468)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A2B #252B1A
analogous
#1A1C2B #201A2B #281A2B
triadic
#201A2B #2B201A #1A2B20
tetradic
#201A2B #2B1A1C #252B1A #1A2B28
square
#201A2B #2B1A1C #252B1A #1A2B28
split-complementary
#201A2B #2B281A #1C2B1A
monochromatic
#0E0C13 #0E0C13 #201A2B #3C3151 #594877

Accessibility & contrast

On white

16.88
#201A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A2B
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A2B#FFFFFF#000000##FFFFFF
##201A2B1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2C
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#1E1D20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201a2b;
/* rgb */ color: rgb(32, 26, 43);
/* oklch */ color: oklch(23.3% 0.033 300.1);
Tailwind
colors: {
  custom: {
    50: '#5b5664',
    500: '#201a2b',
    950: '#000000',
  },
}
SCSS
$custom: #201a2b;
$custom-light: #5b5664;
$custom-dark: #000000;
JSON
{
  "hex": "#201a2b",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 261.176,
    "s": 24.638,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23315,
    "c": 0.03315,
    "h": 300.1
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#201A2B
secondary
#545E43
accent
#C167A1
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #201A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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