#280128#280128

#280128 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.087 H 328.3°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#280128
RGBrgb(40, 1, 40)
HSLhsl(300, 95%, 8%)
HSVhsv(300, 98%, 16%)
CMYKcmyk(0%, 97.5%, 0%, 84.3%)
CIE-LABlab(5.66, 25.27, -15.96)
CIE-LCHlch(5.66, 29.89, 327.72°)
OKLaboklab(19.6% 0.0739 -0.0457)
OKLCHoklch(19.6% 0.087 328.3)
XYZxyz(1.2689, 0.6261, 2.0611)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280128 #012801
analogous
#140128 #280128 #280114
triadic
#280128 #282801 #012828
tetradic
#280128 #281401 #012801 #011428
square
#280128 #281401 #012801 #011428
split-complementary
#280128 #142801 #012814
monochromatic
#1E011E #1E011E #280128 #640264 #9F049F

Accessibility & contrast

On white

18.66
#280128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#280128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280128
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280128#FFFFFF#000000##FFFFFF
##2801281.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#0B1427
Tritanopia (blue-blind)
#2A0614
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280128;
/* rgb */ color: rgb(40, 1, 40);
/* oklch */ color: oklch(19.6% 0.087 328.3);
Tailwind
colors: {
  custom: {
    50: '#644662',
    500: '#280128',
    950: '#000000',
  },
}
SCSS
$custom: #280128;
$custom-light: #644662;
$custom-dark: #000000;
JSON
{
  "hex": "#280128",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19601,
    "c": 0.0869,
    "h": 328.3
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#280128
secondary
#166F16
accent
#FF2929
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #280128

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

Preview Lab → · Contrast checker → · Palette generator →

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