#280122#280122

#280122 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.082 H 335.2°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#280122
RGBrgb(40, 1, 34)
HSLhsl(309, 95%, 8%)
HSVhsv(309, 98%, 16%)
CMYKcmyk(0%, 97.5%, 15%, 84.3%)
CIE-LABlab(5.32, 23.73, -11.88)
CIE-LCHlch(5.32, 26.53, 333.41°)
OKLaboklab(19.15% 0.0742 -0.0343)
OKLCHoklch(19.15% 0.082 335.2)
XYZxyz(1.1747, 0.5884, 1.5648)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280122 #012807
analogous
#1A0128 #280122 #28010E
triadic
#280122 #222801 #012228
tetradic
#280122 #281A01 #012807 #010E28
square
#280122 #281A01 #012807 #010E28
split-complementary
#280122 #0E2801 #01281A
monochromatic
#1E0119 #1E0119 #280122 #640255 #9F0488

Accessibility & contrast

On white

18.79
#280122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#280122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280122
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280122#FFFFFF#000000##FFFFFF
##2801221.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E23
Deuteranopia (green-blind)
#0E1421
Tritanopia (blue-blind)
#2B0310
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280122;
/* rgb */ color: rgb(40, 1, 34);
/* oklch */ color: oklch(19.2% 0.082 335.2);
Tailwind
colors: {
  custom: {
    50: '#63465d',
    500: '#280122',
    950: '#000000',
  },
}
SCSS
$custom: #280122;
$custom-light: #63465d;
$custom-dark: #000000;
JSON
{
  "hex": "#280122",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 309.231,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19151,
    "c": 0.08174,
    "h": 335.2
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#280122
secondary
#166F24
accent
#FF4A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280122

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

Preview Lab → · Contrast checker → · Palette generator →

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