#201A2A#201A2A

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

Color values

HEX#201A2A
RGBrgb(32, 26, 42)
HSLhsl(263, 24%, 13%)
HSVhsv(263, 38%, 16%)
CMYKcmyk(23.8%, 38.1%, 0%, 83.5%)
CIE-LABlab(10.65, 7.18, -9.74)
CIE-LCHlch(10.65, 12.10, 306.40°)
OKLaboklab(23.26% 0.0163 -0.0268)
OKLCHoklch(23.26% 0.031 301.2)
XYZxyz(1.3829, 1.2130, 2.3513)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A2A #242A1A
analogous
#1A1C2A #201A2A #281A2A
triadic
#201A2A #2A201A #1A2A20
tetradic
#201A2A #2A1A1C #242A1A #1A2A28
square
#201A2A #2A1A1C #242A1A #1A2A28
split-complementary
#201A2A #2A281A #1C2A1A
monochromatic
#0E0C13 #0E0C13 #201A2A #3D3150 #5A4976

Accessibility & contrast

On white

16.90
#201A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A2A
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A2A#FFFFFF#000000##FFFFFF
##201A2A1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2B
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#1E1C20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201a2a;
/* rgb */ color: rgb(32, 26, 42);
/* oklch */ color: oklch(23.3% 0.031 301.2);
Tailwind
colors: {
  custom: {
    50: '#5b5663',
    500: '#201a2a',
    950: '#000000',
  },
}
SCSS
$custom: #201a2a;
$custom-light: #5b5663;
$custom-dark: #000000;
JSON
{
  "hex": "#201a2a",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 262.5,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23257,
    "c": 0.03137,
    "h": 301.2
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#201A2A
secondary
#535D43
accent
#C0689F
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #201A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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