#280D2E#280D2E

#280D2E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.070 H 320.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#280D2E
RGBrgb(40, 13, 46)
HSLhsl(289, 56%, 12%)
HSVhsv(289, 72%, 18%)
CMYKcmyk(13%, 71.7%, 0%, 82%)
CIE-LABlab(8.45, 20.37, -16.06)
CIE-LCHlch(8.45, 25.94, 321.74°)
OKLaboklab(21.94% 0.0533 -0.0447)
OKLCHoklch(21.94% 0.07 320)
XYZxyz(1.5121, 0.9363, 2.6853)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D2E #132E0D
analogous
#180D2E #280D2E #2E0D24
triadic
#280D2E #2E280D #0D2E28
tetradic
#280D2E #2E180D #132E0D #0D242E
square
#280D2E #2E180D #132E0D #0D242E
split-complementary
#280D2E #242E0D #0D2E18
monochromatic
#150718 #150718 #280D2E #511A5E #7B288D

Accessibility & contrast

On white

17.69
#280D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D2E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D2E#FFFFFF#000000##FFFFFF
##280D2E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#28121B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280d2e;
/* rgb */ color: rgb(40, 13, 46);
/* oklch */ color: oklch(21.9% 0.070 320.0);
Tailwind
colors: {
  custom: {
    50: '#634d67',
    500: '#280d2e',
    950: '#000000',
  },
}
SCSS
$custom: #280d2e;
$custom-light: #634d67;
$custom-dark: #000000;
JSON
{
  "hex": "#280d2e",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 289.091,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21943,
    "c": 0.06959,
    "h": 320
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#280D2E
secondary
#39692E
accent
#DF4964
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280D2E

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

Preview Lab → · Contrast checker → · Palette generator →

#280D2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva