#201028#201028

#201028 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.8% C 0.051 H 313.5°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#201028
RGBrgb(32, 16, 40)
HSLhsl(280, 43%, 11%)
HSVhsv(280, 60%, 16%)
CMYKcmyk(20%, 60%, 0%, 84.3%)
CIE-LABlab(7.51, 13.93, -13.16)
CIE-LCHlch(7.51, 19.16, 316.63°)
OKLaboklab(20.83% 0.0348 -0.0366)
OKLCHoklch(20.83% 0.051 313.5)
XYZxyz(1.1639, 0.8309, 2.1061)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201028 #182810
analogous
#141028 #201028 #281024
triadic
#201028 #282010 #102820
tetradic
#201028 #281410 #182810 #102428
square
#201028 #281410 #182810 #102428
split-complementary
#201028 #242810 #102814
monochromatic
#110916 #110916 #201028 #432154 #66337F

Accessibility & contrast

On white

18.01
#201028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#201028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201028
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201028#FFFFFF#000000##FFFFFF
##2010281.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1629
Deuteranopia (green-blind)
#0F1727
Tritanopia (blue-blind)
#1F141A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #201028;
/* rgb */ color: rgb(32, 16, 40);
/* oklch */ color: oklch(20.8% 0.051 313.5);
Tailwind
colors: {
  custom: {
    50: '#5c4e62',
    500: '#201028',
    950: '#000000',
  },
}
SCSS
$custom: #201028;
$custom-light: #5c4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#201028",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 280,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20831,
    "c": 0.05052,
    "h": 313.5
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#201028
secondary
#436034
accent
#D3557F
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #201028

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

Preview Lab → · Contrast checker → · Palette generator →

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