#200731#200731

#200731 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.080 H 308.0°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#200731
RGBrgb(32, 7, 49)
HSLhsl(276, 75%, 11%)
HSVhsv(276, 86%, 19%)
CMYKcmyk(34.7%, 85.7%, 0%, 80.8%)
CIE-LABlab(6.15, 21.79, -22.03)
CIE-LCHlch(6.15, 30.98, 314.68°)
OKLaboklab(19.95% 0.0494 -0.0633)
OKLCHoklch(19.95% 0.08 308)
XYZxyz(1.2259, 0.6808, 2.9720)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200731 #183107
analogous
#0B0731 #200731 #31072D
triadic
#200731 #312007 #073120
tetradic
#200731 #310B07 #183107 #072D31
square
#200731 #310B07 #183107 #072D31
split-complementary
#200731 #2D3107 #07310B
monochromatic
#11041B #11041B #200731 #430F67 #66169C

Accessibility & contrast

On white

18.48
#200731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200731
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200731#FFFFFF#000000##FFFFFF
##2007311.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #200731;
/* rgb */ color: rgb(32, 7, 49);
/* oklch */ color: oklch(20.0% 0.080 308.0);
Tailwind
colors: {
  custom: {
    50: '#5d4969',
    500: '#200731',
    950: '#000000',
  },
}
SCSS
$custom: #200731;
$custom-light: #5d4969;
$custom-dark: #000000;
JSON
{
  "hex": "#200731",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 275.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19954,
    "c": 0.0803,
    "h": 308
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#200731
secondary
#437123
accent
#F23682
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #200731

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

Preview Lab → · Contrast checker → · Palette generator →

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