#200831#200831

#200831 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.079 H 307.6°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#200831
RGBrgb(32, 8, 49)
HSLhsl(275, 72%, 11%)
HSVhsv(275, 84%, 19%)
CMYKcmyk(34.7%, 83.7%, 0%, 80.8%)
CIE-LABlab(6.35, 21.29, -21.72)
CIE-LCHlch(6.35, 30.41, 314.43°)
OKLaboklab(20.12% 0.0479 -0.0622)
OKLCHoklch(20.12% 0.079 307.6)
XYZxyz(1.2368, 0.7025, 2.9756)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200831 #193108
analogous
#0B0831 #200831 #31082D
triadic
#200831 #312008 #083120
tetradic
#200831 #310B08 #193108 #082D31
square
#200831 #310B08 #193108 #082D31
split-complementary
#200831 #2D3108 #08310B
monochromatic
#11041A #11041A #200831 #421166 #65199A

Accessibility & contrast

On white

18.41
#200831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#200831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200831
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200831#FFFFFF#000000##FFFFFF
##2008311.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#1D111B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #200831;
/* rgb */ color: rgb(32, 8, 49);
/* oklch */ color: oklch(20.1% 0.079 307.6);
Tailwind
colors: {
  custom: {
    50: '#5d4a69',
    500: '#200831',
    950: '#000000',
  },
}
SCSS
$custom: #200831;
$custom-light: #5d4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#200831",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 275.122,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20118,
    "c": 0.07851,
    "h": 307.6
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#200831
secondary
#447025
accent
#EF3984
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200831

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

Preview Lab → · Contrast checker → · Palette generator →

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