#200728#200728

#200728 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.069 H 317.0°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#200728
RGBrgb(32, 7, 40)
HSLhsl(285, 70%, 9%)
HSVhsv(285, 83%, 16%)
CMYKcmyk(20%, 82.5%, 0%, 84.3%)
CIE-LABlab(5.53, 18.71, -16.25)
CIE-LCHlch(5.53, 24.79, 319.03°)
OKLaboklab(19.17% 0.0506 -0.0471)
OKLCHoklch(19.17% 0.069 317)
XYZxyz(1.0546, 0.6123, 2.0697)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200728 #0F2807
analogous
#100728 #200728 #280720
triadic
#200728 #282007 #072820
tetradic
#200728 #281007 #0F2807 #072028
square
#200728 #281007 #0F2807 #072028
split-complementary
#200728 #202807 #072810
monochromatic
#15051A #15051A #200728 #4A105C #731990

Accessibility & contrast

On white

18.71
#200728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#200728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200728
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200728#FFFFFF#000000##FFFFFF
##2007281.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001129
Deuteranopia (green-blind)
#081327
Tritanopia (blue-blind)
#200D16
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #200728;
/* rgb */ color: rgb(32, 7, 40);
/* oklch */ color: oklch(19.2% 0.069 317.0);
Tailwind
colors: {
  custom: {
    50: '#5c4962',
    500: '#200728',
    950: '#000000',
  },
}
SCSS
$custom: #200728;
$custom-light: #5c4962;
$custom-dark: #000000;
JSON
{
  "hex": "#200728",
  "rgb": {
    "r": 32,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 285.455,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19165,
    "c": 0.06909,
    "h": 317
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#200728
secondary
#346823
accent
#ED3B66
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #200728

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

Preview Lab → · Contrast checker → · Palette generator →

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