#201837#201837

#201837 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.6% C 0.058 H 293.3°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#201837
RGBrgb(32, 24, 55)
HSLhsl(255, 39%, 15%)
HSVhsv(255, 56%, 22%)
CMYKcmyk(41.8%, 56.4%, 0%, 78.4%)
CIE-LABlab(10.82, 12.85, -18.93)
CIE-LCHlch(10.82, 22.88, 304.17°)
OKLaboklab(23.64% 0.023 -0.0534)
OKLCHoklch(23.64% 0.058 293.3)
XYZxyz(1.6117, 1.2361, 3.7674)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201837 #2F3718
analogous
#181F37 #201837 #2F1837
triadic
#201837 #372018 #183720
tetradic
#201837 #37181F #2F3718 #18372F
square
#201837 #37181F #2F3718 #18372F
split-complementary
#201837 #372F18 #1F3718
monochromatic
#0C0915 #0C0915 #201837 #392B62 #523D8C

Accessibility & contrast

On white

16.84
#201837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#201837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201837
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201837#FFFFFF#000000##FFFFFF
##2018371.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D38
Deuteranopia (green-blind)
#0E1D36
Tritanopia (blue-blind)
#1A1E24
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201837;
/* rgb */ color: rgb(32, 24, 55);
/* oklch */ color: oklch(23.6% 0.058 293.3);
Tailwind
colors: {
  custom: {
    50: '#5d546e',
    500: '#201837',
    950: '#000000',
  },
}
SCSS
$custom: #201837;
$custom-light: #5d546e;
$custom-dark: #000000;
JSON
{
  "hex": "#201837",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 255.484,
    "s": 39.241,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23643,
    "c": 0.05818,
    "h": 293.3
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#201837
secondary
#616D3E
accent
#CF59B1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #201837

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

Preview Lab → · Contrast checker → · Palette generator →

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