#200131#200131

#200131 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.092 H 310.2°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#200131
RGBrgb(32, 1, 49)
HSLhsl(279, 96%, 10%)
HSVhsv(279, 98%, 19%)
CMYKcmyk(34.7%, 98%, 0%, 80.8%)
CIE-LABlab(4.97, 24.74, -23.91)
CIE-LCHlch(4.97, 34.41, 315.98°)
OKLaboklab(18.9% 0.0595 -0.0704)
OKLCHoklch(18.9% 0.092 310.2)
XYZxyz(1.1608, 0.5506, 2.9503)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200131 #123101
analogous
#080131 #200131 #31012A
triadic
#200131 #312001 #013120
tetradic
#200131 #310801 #123101 #012A31
square
#200131 #310801 #123101 #012A31
split-complementary
#200131 #2A3101 #013108
monochromatic
#14011E #14011E #200131 #47026D #6E03A9

Accessibility & contrast

On white

18.92
#200131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#200131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200131
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200131#FFFFFF#000000##FFFFFF
##2001311.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#1D0C19
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #200131;
/* rgb */ color: rgb(32, 1, 49);
/* oklch */ color: oklch(18.9% 0.092 310.2);
Tailwind
colors: {
  custom: {
    50: '#5e4669',
    500: '#200131',
    950: '#000000',
  },
}
SCSS
$custom: #200131;
$custom-light: #5e4669;
$custom-dark: #000000;
JSON
{
  "hex": "#200131",
  "rgb": {
    "r": 32,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 278.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18904,
    "c": 0.09217,
    "h": 310.2
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#200131
secondary
#397717
accent
#FF2975
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #200131

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

Preview Lab → · Contrast checker → · Palette generator →

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