#201A2C#201A2C

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

Color values

HEX#201A2C
RGBrgb(32, 26, 44)
HSLhsl(260, 26%, 14%)
HSVhsv(260, 41%, 17%)
CMYKcmyk(27.3%, 40.9%, 0%, 82.7%)
CIE-LABlab(10.76, 7.79, -11.04)
CIE-LCHlch(10.76, 13.51, 305.20°)
OKLaboklab(23.37% 0.0169 -0.0305)
OKLCHoklch(23.37% 0.035 299)
XYZxyz(1.4196, 1.2277, 2.5446)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A2C #262C1A
analogous
#1A1D2C #201A2C #291A2C
triadic
#201A2C #2C201A #1A2C20
tetradic
#201A2C #2C1A1D #262C1A #1A2C29
square
#201A2C #2C1A1D #262C1A #1A2C29
split-complementary
#201A2C #2C291A #1D2C1A
monochromatic
#0E0B13 #0E0B13 #201A2C #3C3152 #584779

Accessibility & contrast

On white

16.86
#201A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A2C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A2C#FFFFFF#000000##FFFFFF
##201A2C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201a2c;
/* rgb */ color: rgb(32, 26, 44);
/* oklch */ color: oklch(23.4% 0.035 299.0);
Tailwind
colors: {
  custom: {
    50: '#5b5665',
    500: '#201a2c',
    950: '#000000',
  },
}
SCSS
$custom: #201a2c;
$custom-light: #5b5665;
$custom-dark: #000000;
JSON
{
  "hex": "#201a2c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 260,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23374,
    "c": 0.03493,
    "h": 299
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#201A2C
secondary
#565F42
accent
#C266A3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #201A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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