#201031#201031

#201031 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.064 H 303.9°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#201031
RGBrgb(32, 16, 49)
HSLhsl(269, 51%, 13%)
HSVhsv(269, 67%, 19%)
CMYKcmyk(34.7%, 67.3%, 0%, 80.8%)
CIE-LABlab(8.12, 16.66, -18.87)
CIE-LCHlch(8.12, 25.17, 311.45°)
OKLaboklab(21.5% 0.0357 -0.0532)
OKLCHoklch(21.5% 0.064 303.9)
XYZxyz(1.3352, 0.8994, 3.0084)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201031 #213110
analogous
#101031 #201031 #301031
triadic
#201031 #312010 #103120
tetradic
#201031 #311010 #213110 #103130
square
#201031 #311010 #213110 #103130
split-complementary
#201031 #313010 #103110
monochromatic
#0F0817 #0F0817 #201031 #3E1F5F #5C2E8D

Accessibility & contrast

On white

17.80
#201031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#201031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201031
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201031#FFFFFF#000000##FFFFFF
##2010311.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041732
Deuteranopia (green-blind)
#091830
Tritanopia (blue-blind)
#1D161E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #201031;
/* rgb */ color: rgb(32, 16, 49);
/* oklch */ color: oklch(21.5% 0.064 303.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e69',
    500: '#201031',
    950: '#000000',
  },
}
SCSS
$custom: #201031;
$custom-light: #5d4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#201031",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 269.091,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.215,
    "c": 0.06412,
    "h": 303.9
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#201031
secondary
#4F6A33
accent
#DA4E96
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #201031

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

Preview Lab → · Contrast checker → · Palette generator →

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