#201428#201428

#201428 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.7% C 0.042 H 310.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#201428
RGBrgb(32, 20, 40)
HSLhsl(276, 33%, 12%)
HSVhsv(276, 50%, 16%)
CMYKcmyk(20%, 50%, 0%, 84.3%)
CIE-LABlab(8.66, 11.06, -11.36)
CIE-LCHlch(8.66, 15.85, 314.25°)
OKLaboklab(21.7% 0.0272 -0.0314)
OKLCHoklch(21.7% 0.042 310.9)
XYZxyz(1.2288, 0.9606, 2.1278)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201428 #1C2814
analogous
#161428 #201428 #281426
triadic
#201428 #282014 #142820
tetradic
#201428 #281614 #1C2814 #142628
square
#201428 #281614 #1C2814 #142628
split-complementary
#201428 #262814 #142816
monochromatic
#100A14 #100A14 #201428 #412851 #613D7A

Accessibility & contrast

On white

17.61
#201428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#201428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201428
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201428#FFFFFF#000000##FFFFFF
##2014281.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101829
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#1F171C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201428;
/* rgb */ color: rgb(32, 20, 40);
/* oklch */ color: oklch(21.7% 0.042 310.9);
Tailwind
colors: {
  custom: {
    50: '#5c5162',
    500: '#201428',
    950: '#000000',
  },
}
SCSS
$custom: #201428;
$custom-light: #5c5162;
$custom-dark: #000000;
JSON
{
  "hex": "#201428",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 276,
    "s": 33.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21703,
    "c": 0.04154,
    "h": 310.9
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#201428
secondary
#485E3A
accent
#C95E89
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #201428

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

Preview Lab → · Contrast checker → · Palette generator →

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