#201526#201526

#201526 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.8% C 0.036 H 313.1°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#201526
RGBrgb(32, 21, 38)
HSLhsl(279, 29%, 12%)
HSVhsv(279, 45%, 15%)
CMYKcmyk(15.8%, 44.7%, 0%, 85.1%)
CIE-LABlab(8.85, 9.74, -9.56)
CIE-LCHlch(8.85, 13.65, 315.54°)
OKLaboklab(21.81% 0.0246 -0.0263)
OKLCHoklch(21.81% 0.036 313.1)
XYZxyz(1.2136, 0.9834, 1.9592)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201526 #1B2615
analogous
#181526 #201526 #261524
triadic
#201526 #262015 #152620
tetradic
#201526 #261815 #1B2615 #152426
square
#201526 #261815 #1B2615 #152426
split-complementary
#201526 #242615 #152618
monochromatic
#110B14 #110B14 #201526 #412B4D #624175

Accessibility & contrast

On white

17.55
#201526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201526
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201526#FFFFFF#000000##FFFFFF
##2015261.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121927
Deuteranopia (green-blind)
#151925
Tritanopia (blue-blind)
#20171B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201526;
/* rgb */ color: rgb(32, 21, 38);
/* oklch */ color: oklch(21.8% 0.036 313.1);
Tailwind
colors: {
  custom: {
    50: '#5b5260',
    500: '#201526',
    950: '#000000',
  },
}
SCSS
$custom: #201526;
$custom-light: #5b5260;
$custom-dark: #000000;
JSON
{
  "hex": "#201526",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 278.824,
    "s": 28.814,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21812,
    "c": 0.03602,
    "h": 313.1
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#201526
secondary
#475B3C
accent
#C56385
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201526

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

Preview Lab → · Contrast checker → · Palette generator →

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