#280022#280022

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

Color values

HEX#280022
RGBrgb(40, 0, 34)
HSLhsl(309, 100%, 8%)
HSVhsv(309, 100%, 16%)
CMYKcmyk(0%, 100%, 15%, 84.3%)
CIE-LABlab(5.12, 24.21, -12.18)
CIE-LCHlch(5.12, 27.10, 333.30°)
OKLaboklab(18.97% 0.0765 -0.0355)
OKLCHoklch(18.97% 0.084 335.1)
XYZxyz(1.1638, 0.5667, 1.5612)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280022 #002806
analogous
#1A0028 #280022 #28000E
triadic
#280022 #222800 #002228
tetradic
#280022 #281A00 #002806 #000E28
square
#280022 #281A00 #002806 #000E28
split-complementary
#280022 #0E2800 #00281A
monochromatic
#1F001A #1F001A #280022 #650056 #A2008A

Accessibility & contrast

On white

18.86
#280022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#280022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280022
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280022#FFFFFF#000000##FFFFFF
##2800221.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D23
Deuteranopia (green-blind)
#0D1321
Tritanopia (blue-blind)
#2B020F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280022;
/* rgb */ color: rgb(40, 0, 34);
/* oklch */ color: oklch(19.0% 0.084 335.1);
Tailwind
colors: {
  custom: {
    50: '#63465d',
    500: '#280022',
    950: '#000000',
  },
}
SCSS
$custom: #280022;
$custom-light: #63465d;
$custom-dark: #000000;
JSON
{
  "hex": "#280022",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 34
  },
  "hsl": {
    "h": 309,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18966,
    "c": 0.0843,
    "h": 335.1
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#280022
secondary
#147022
accent
#FF4929
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050004
muted
#7A7679

Preview Lab

Preview with #280022

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

Preview Lab → · Contrast checker → · Palette generator →

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