#200C31#200C31

#200C31 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.072 H 306.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#200C31
RGBrgb(32, 12, 49)
HSLhsl(272, 61%, 12%)
HSVhsv(272, 76%, 19%)
CMYKcmyk(34.7%, 75.5%, 0%, 80.8%)
CIE-LABlab(7.15, 19.21, -20.43)
CIE-LCHlch(7.15, 28.04, 313.24°)
OKLaboklab(20.77% 0.042 -0.0579)
OKLCHoklch(20.77% 0.072 306)
XYZxyz(1.2814, 0.7918, 2.9905)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200C31 #1D310C
analogous
#0D0C31 #200C31 #310C30
triadic
#200C31 #31200C #0C3120
tetradic
#200C31 #310D0C #1D310C #0C3031
square
#200C31 #310D0C #1D310C #0C3031
split-complementary
#200C31 #30310C #0C310D
monochromatic
#100619 #100619 #200C31 #401862 #602493

Accessibility & contrast

On white

18.13
#200C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#200C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200C31
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200C31#FFFFFF#000000##FFFFFF
##200C311.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#051630
Tritanopia (blue-blind)
#1D141C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #200c31;
/* rgb */ color: rgb(32, 12, 49);
/* oklch */ color: oklch(20.8% 0.072 306.0);
Tailwind
colors: {
  custom: {
    50: '#5d4c69',
    500: '#200c31',
    950: '#000000',
  },
}
SCSS
$custom: #200c31;
$custom-light: #5d4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#200c31",
  "rgb": {
    "r": 32,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 272.432,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20768,
    "c": 0.0716,
    "h": 306
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#200C31
secondary
#4A6D2C
accent
#E4448D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200C31

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

Preview Lab → · Contrast checker → · Palette generator →

#200C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva