#28202A#28202A

#28202A is a dark, muted purple. Relative luminance 0.017; OKLCH L 25.7% C 0.022 H 319.5°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#28202A
RGBrgb(40, 32, 42)
HSLhsl(288, 14%, 15%)
HSVhsv(288, 24%, 16%)
CMYKcmyk(4.8%, 23.8%, 0%, 83.5%)
CIE-LABlab(13.54, 6.18, -5.25)
CIE-LCHlch(13.54, 8.11, 319.65°)
OKLaboklab(25.7% 0.0165 -0.0141)
OKLCHoklch(25.7% 0.022 319.5)
XYZxyz(1.8094, 1.6513, 2.4135)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28202A #222A20
analogous
#23202A #28202A #2A2027
triadic
#28202A #2A2820 #202A28
tetradic
#28202A #2A2320 #222A20 #20272A
square
#28202A #2A2320 #222A20 #20272A
split-complementary
#28202A #272A20 #202A23
monochromatic
#110D11 #110D11 #28202A #493A4D #6A556F

Accessibility & contrast

On white

15.79
#28202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#28202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28202A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28202A#FFFFFF#000000##FFFFFF
##28202A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#21232A
Tritanopia (blue-blind)
#282123
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #28202a;
/* rgb */ color: rgb(40, 32, 42);
/* oklch */ color: oklch(25.7% 0.022 319.5);
Tailwind
colors: {
  custom: {
    50: '#625b63',
    500: '#28202a',
    950: '#000000',
  },
}
SCSS
$custom: #28202a;
$custom-light: #625b63;
$custom-dark: #000000;
JSON
{
  "hex": "#28202a",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 288,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25703,
    "c": 0.02175,
    "h": 319.5
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#28202A
secondary
#4E5B4B
accent
#B6717F
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #28202A

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

Preview Lab → · Contrast checker → · Palette generator →

#28202A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva