#200428#200428

#200428 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.6% C 0.076 H 318.0°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#200428
RGBrgb(32, 4, 40)
HSLhsl(287, 82%, 9%)
HSVhsv(287, 90%, 16%)
CMYKcmyk(20%, 90%, 0%, 84.3%)
CIE-LABlab(4.94, 20.09, -17.17)
CIE-LCHlch(4.94, 26.43, 319.47°)
OKLaboklab(18.61% 0.0563 -0.0507)
OKLCHoklch(18.61% 0.076 318)
XYZxyz(1.0220, 0.5472, 2.0588)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200428 #0C2804
analogous
#0E0428 #200428 #28041E
triadic
#200428 #282004 #042820
tetradic
#200428 #280E04 #0C2804 #041E28
square
#200428 #280E04 #0C2804 #041E28
split-complementary
#200428 #1E2804 #04280E
monochromatic
#16031C #16031C #200428 #4D0A60 #790F97

Accessibility & contrast

On white

18.93
#200428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#200428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200428
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200428#FFFFFF#000000##FFFFFF
##2004281.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#051227
Tritanopia (blue-blind)
#200A15
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #200428;
/* rgb */ color: rgb(32, 4, 40);
/* oklch */ color: oklch(18.6% 0.076 318.0);
Tailwind
colors: {
  custom: {
    50: '#5c4862',
    500: '#200428',
    950: '#000000',
  },
}
SCSS
$custom: #200428;
$custom-light: #5c4862;
$custom-dark: #000000;
JSON
{
  "hex": "#200428",
  "rgb": {
    "r": 32,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 286.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18608,
    "c": 0.07577,
    "h": 318
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#200428
secondary
#2E6B1D
accent
#F8305C
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #200428

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

Preview Lab → · Contrast checker → · Palette generator →

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