#280126#280126

#280126 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.085 H 330.5°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#280126
RGBrgb(40, 1, 38)
HSLhsl(303, 95%, 8%)
HSVhsv(303, 98%, 16%)
CMYKcmyk(0%, 97.5%, 5%, 84.3%)
CIE-LABlab(5.54, 24.74, -14.62)
CIE-LCHlch(5.54, 28.74, 329.42°)
OKLaboklab(19.45% 0.0741 -0.0419)
OKLCHoklch(19.45% 0.085 330.5)
XYZxyz(1.2358, 0.6129, 1.8866)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280126 #012803
analogous
#160128 #280126 #280112
triadic
#280126 #262801 #012628
tetradic
#280126 #281601 #012803 #011228
square
#280126 #281601 #012803 #011228
split-complementary
#280126 #122801 #012816
monochromatic
#1E011C #1E011C #280126 #64025F #9F0497

Accessibility & contrast

On white

18.71
#280126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280126
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280126#FFFFFF#000000##FFFFFF
##2801261.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F27
Deuteranopia (green-blind)
#0C1425
Tritanopia (blue-blind)
#2A0512
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280126;
/* rgb */ color: rgb(40, 1, 38);
/* oklch */ color: oklch(19.4% 0.085 330.5);
Tailwind
colors: {
  custom: {
    50: '#644660',
    500: '#280126',
    950: '#000000',
  },
}
SCSS
$custom: #280126;
$custom-light: #644660;
$custom-dark: #000000;
JSON
{
  "hex": "#280126",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 303.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19445,
    "c": 0.08515,
    "h": 330.5
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#280126
secondary
#166F1B
accent
#FF3429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050005
muted
#7A7779

Preview Lab

Preview with #280126

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

Preview Lab → · Contrast checker → · Palette generator →

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