#280831#280831

#280831 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.082 H 317.9°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#280831
RGBrgb(40, 8, 49)
HSLhsl(287, 72%, 11%)
HSVhsv(287, 84%, 19%)
CMYKcmyk(18.4%, 83.7%, 0%, 80.8%)
CIE-LABlab(7.65, 23.94, -19.56)
CIE-LCHlch(7.65, 30.91, 320.75°)
OKLaboklab(21.43% 0.0608 -0.0549)
OKLCHoklch(21.43% 0.082 317.9)
XYZxyz(1.5162, 0.8466, 2.9887)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280831 #113108
analogous
#130831 #280831 #310825
triadic
#280831 #312808 #083128
tetradic
#280831 #311308 #113108 #082531
square
#280831 #311308 #113108 #082531
split-complementary
#280831 #253108 #083113
monochromatic
#15041A #15041A #280831 #531166 #7E199A

Accessibility & contrast

On white

17.96
#280831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#280831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280831
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280831#FFFFFF#000000##FFFFFF
##2808311.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#091830
Tritanopia (blue-blind)
#28101B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280831;
/* rgb */ color: rgb(40, 8, 49);
/* oklch */ color: oklch(21.4% 0.082 317.9);
Tailwind
colors: {
  custom: {
    50: '#644a69',
    500: '#280831',
    950: '#000000',
  },
}
SCSS
$custom: #280831;
$custom-light: #644a69;
$custom-dark: #000000;
JSON
{
  "hex": "#280831",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 286.829,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21431,
    "c": 0.08194,
    "h": 317.9
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#280831
secondary
#357025
accent
#EF3961
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280831

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

Preview Lab → · Contrast checker → · Palette generator →

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