#200628#200628

#200628 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.071 H 317.4°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#200628
RGBrgb(32, 6, 40)
HSLhsl(286, 74%, 9%)
HSVhsv(286, 85%, 16%)
CMYKcmyk(20%, 85%, 0%, 84.3%)
CIE-LABlab(5.33, 19.17, -16.56)
CIE-LCHlch(5.33, 25.34, 319.18°)
OKLaboklab(18.98% 0.0524 -0.0483)
OKLCHoklch(18.98% 0.071 317.4)
XYZxyz(1.0437, 0.5906, 2.0661)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200628 #0E2806
analogous
#0F0628 #200628 #28061F
triadic
#200628 #282006 #062820
tetradic
#200628 #280F06 #0E2806 #061F28
square
#200628 #280F06 #0E2806 #061F28
split-complementary
#200628 #1F2806 #06280F
monochromatic
#15041B #15041B #200628 #4B0E5D #751692

Accessibility & contrast

On white

18.78
#200628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #200628
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200628#FFFFFF#000000##FFFFFF
##2006281.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#071227
Tritanopia (blue-blind)
#200C16
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #200628;
/* rgb */ color: rgb(32, 6, 40);
/* oklch */ color: oklch(19.0% 0.071 317.4);
Tailwind
colors: {
  custom: {
    50: '#5c4962',
    500: '#200628',
    950: '#000000',
  },
}
SCSS
$custom: #200628;
$custom-light: #5c4962;
$custom-dark: #000000;
JSON
{
  "hex": "#200628",
  "rgb": {
    "r": 32,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 285.882,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18983,
    "c": 0.07124,
    "h": 317.4
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#200628
secondary
#326921
accent
#F13763
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #200628

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

Preview Lab → · Contrast checker → · Palette generator →

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