#280124#280124

#280124 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.083 H 332.8°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#280124
RGBrgb(40, 1, 36)
HSLhsl(306, 95%, 8%)
HSVhsv(306, 98%, 16%)
CMYKcmyk(0%, 97.5%, 10%, 84.3%)
CIE-LABlab(5.42, 24.23, -13.26)
CIE-LCHlch(5.42, 27.62, 331.31°)
OKLaboklab(19.3% 0.0742 -0.0381)
OKLCHoklch(19.3% 0.083 332.8)
XYZxyz(1.2044, 0.6003, 1.7212)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280124 #012805
analogous
#180128 #280124 #280110
triadic
#280124 #242801 #012428
tetradic
#280124 #281801 #012805 #011028
square
#280124 #281801 #012805 #011028
split-complementary
#280124 #102801 #012818
monochromatic
#1E011B #1E011B #280124 #64025A #9F048F

Accessibility & contrast

On white

18.75
#280124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280124
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280124#FFFFFF#000000##FFFFFF
##2801241.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E25
Deuteranopia (green-blind)
#0D1423
Tritanopia (blue-blind)
#2A0411
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280124;
/* rgb */ color: rgb(40, 1, 36);
/* oklch */ color: oklch(19.3% 0.083 332.8);
Tailwind
colors: {
  custom: {
    50: '#63465e',
    500: '#280124',
    950: '#000000',
  },
}
SCSS
$custom: #280124;
$custom-light: #63465e;
$custom-dark: #000000;
JSON
{
  "hex": "#280124",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 306.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19295,
    "c": 0.08342,
    "h": 332.8
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#280124
secondary
#166F1F
accent
#FF3F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280124

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

Preview Lab → · Contrast checker → · Palette generator →

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