#201628#201628

#201628 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.2% C 0.037 H 309.1°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#201628
RGBrgb(32, 22, 40)
HSLhsl(273, 29%, 12%)
HSVhsv(273, 45%, 16%)
CMYKcmyk(20%, 45%, 0%, 84.3%)
CIE-LABlab(9.27, 9.57, -10.40)
CIE-LCHlch(9.27, 14.14, 312.63°)
OKLaboklab(22.17% 0.0233 -0.0287)
OKLCHoklch(22.17% 0.037 309.1)
XYZxyz(1.2655, 1.0341, 2.1400)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201628 #1E2816
analogous
#171628 #201628 #281627
triadic
#201628 #282016 #162820
tetradic
#201628 #281716 #1E2816 #162728
square
#201628 #281716 #1E2816 #162728
split-complementary
#201628 #272816 #162817
monochromatic
#100B14 #100B14 #201628 #402C4F #5F4177

Accessibility & contrast

On white

17.40
#201628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201628
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201628#FFFFFF#000000##FFFFFF
##2016281.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#1F191D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201628;
/* rgb */ color: rgb(32, 22, 40);
/* oklch */ color: oklch(22.2% 0.037 309.1);
Tailwind
colors: {
  custom: {
    50: '#5b5362',
    500: '#201628',
    950: '#000000',
  },
}
SCSS
$custom: #201628;
$custom-light: #5b5362;
$custom-dark: #000000;
JSON
{
  "hex": "#201628",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 273.333,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22168,
    "c": 0.03697,
    "h": 309.1
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#201628
secondary
#4B5D3D
accent
#C5628E
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #201628

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

Preview Lab → · Contrast checker → · Palette generator →

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