#201631#201631

#201631 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.8% C 0.052 H 299.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#201631
RGBrgb(32, 22, 49)
HSLhsl(262, 38%, 14%)
HSVhsv(262, 55%, 19%)
CMYKcmyk(34.7%, 55.1%, 0%, 80.8%)
CIE-LABlab(9.82, 12.34, -16.17)
CIE-LCHlch(9.82, 20.35, 307.35°)
OKLaboklab(22.76% 0.0255 -0.0454)
OKLCHoklch(22.76% 0.052 299.3)
XYZxyz(1.4368, 1.1026, 3.0423)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201631 #273116
analogous
#161A31 #201631 #2E1631
triadic
#201631 #312016 #163120
tetradic
#201631 #31161A #273116 #16312E
square
#201631 #31161A #273116 #16312E
split-complementary
#201631 #312E16 #1A3116
monochromatic
#0E0915 #0E0915 #201631 #3C295B #573C85

Accessibility & contrast

On white

17.20
#201631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201631
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201631#FFFFFF#000000##FFFFFF
##2016311.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1B32
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#1D1B21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201631;
/* rgb */ color: rgb(32, 22, 49);
/* oklch */ color: oklch(22.8% 0.052 299.3);
Tailwind
colors: {
  custom: {
    50: '#5c5369',
    500: '#201631',
    950: '#000000',
  },
}
SCSS
$custom: #201631;
$custom-light: #5c5369;
$custom-dark: #000000;
JSON
{
  "hex": "#201631",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 262.222,
    "s": 38.028,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22759,
    "c": 0.05205,
    "h": 299.3
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#201631
secondary
#57673C
accent
#CE5AA3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201631

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

Preview Lab → · Contrast checker → · Palette generator →

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