#280838#280838

#280838 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.090 H 311.7°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#280838
RGBrgb(40, 8, 56)
HSLhsl(280, 75%, 13%)
HSVhsv(280, 86%, 22%)
CMYKcmyk(28.6%, 85.7%, 0%, 78%)
CIE-LABlab(8.22, 25.73, -23.76)
CIE-LCHlch(8.22, 35.02, 317.28°)
OKLaboklab(22.03% 0.0598 -0.0672)
OKLCHoklch(22.03% 0.09 311.7)
XYZxyz(1.6756, 0.9104, 3.8281)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280838 #183808
analogous
#100838 #280838 #380830
triadic
#280838 #382808 #083828
tetradic
#280838 #381008 #183808 #083038
square
#280838 #381008 #183808 #083038
split-complementary
#280838 #303808 #083810
monochromatic
#13041B #13041B #280838 #4E106E #7417A3

Accessibility & contrast

On white

17.77
#280838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280838
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280838#FFFFFF#000000##FFFFFF
##2808381.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#031937
Tritanopia (blue-blind)
#26131F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280838;
/* rgb */ color: rgb(40, 8, 56);
/* oklch */ color: oklch(22.0% 0.090 311.7);
Tailwind
colors: {
  custom: {
    50: '#644b6f',
    500: '#280838',
    950: '#000000',
  },
}
SCSS
$custom: #280838;
$custom-light: #644b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#280838",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22028,
    "c": 0.08998,
    "h": 311.7
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#280838
secondary
#407725
accent
#F23675
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280838

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

Preview Lab → · Contrast checker → · Palette generator →

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