#200028#200028

#200028 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.8% C 0.086 H 319.2°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#200028
RGBrgb(32, 0, 40)
HSLhsl(288, 100%, 8%)
HSVhsv(288, 100%, 16%)
CMYKcmyk(20%, 100%, 0%, 84.3%)
CIE-LABlab(4.16, 21.89, -18.40)
CIE-LCHlch(4.16, 28.60, 319.94°)
OKLaboklab(17.81% 0.065 -0.0561)
OKLCHoklch(17.81% 0.086 319.2)
XYZxyz(0.9786, 0.4603, 2.0444)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200028 #082800
analogous
#0C0028 #200028 #28001C
triadic
#200028 #282000 #002820
tetradic
#200028 #280C00 #082800 #001C28
square
#200028 #280C00 #082800 #001C28
split-complementary
#200028 #1C2800 #00280C
monochromatic
#18001F #18001F #200028 #510065 #8200A2

Accessibility & contrast

On white

19.23
#200028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#200028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200028
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200028#FFFFFF#000000##FFFFFF
##2000281.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#200713
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #200028;
/* rgb */ color: rgb(32, 0, 40);
/* oklch */ color: oklch(17.8% 0.086 319.2);
Tailwind
colors: {
  custom: {
    50: '#5c4662',
    500: '#200028',
    950: '#000000',
  },
}
SCSS
$custom: #200028;
$custom-light: #5c4662;
$custom-dark: #000000;
JSON
{
  "hex": "#200028",
  "rgb": {
    "r": 32,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 288,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17806,
    "c": 0.08581,
    "h": 319.2
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#200028
secondary
#267014
accent
#FF2954
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #200028

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

Preview Lab → · Contrast checker → · Palette generator →

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