#200828#200828

#200828 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.067 H 316.7°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#200828
RGBrgb(32, 8, 40)
HSLhsl(285, 67%, 9%)
HSVhsv(285, 80%, 16%)
CMYKcmyk(20%, 80%, 0%, 84.3%)
CIE-LABlab(5.73, 18.25, -15.95)
CIE-LCHlch(5.73, 24.23, 318.85°)
OKLaboklab(19.34% 0.0488 -0.0459)
OKLCHoklch(19.34% 0.067 316.7)
XYZxyz(1.0654, 0.6340, 2.0733)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200828 #102808
analogous
#100828 #200828 #280820
triadic
#200828 #282008 #082820
tetradic
#200828 #281008 #102808 #082028
square
#200828 #281008 #102808 #082028
split-complementary
#200828 #202808 #082810
monochromatic
#14051A #14051A #200828 #49125B #721C8E

Accessibility & contrast

On white

18.64
#200828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#200828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200828
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200828#FFFFFF#000000##FFFFFF
##2008281.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011129
Deuteranopia (green-blind)
#081327
Tritanopia (blue-blind)
#200E16
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #200828;
/* rgb */ color: rgb(32, 8, 40);
/* oklch */ color: oklch(19.3% 0.067 316.7);
Tailwind
colors: {
  custom: {
    50: '#5c4a62',
    500: '#200828',
    950: '#000000',
  },
}
SCSS
$custom: #200828;
$custom-light: #5c4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#200828",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19344,
    "c": 0.06701,
    "h": 316.7
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#200828
secondary
#366725
accent
#EA3E69
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #200828

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

Preview Lab → · Contrast checker → · Palette generator →

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