#280C2D#280C2D

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

Color values

HEX#280C2D
RGBrgb(40, 12, 45)
HSLhsl(291, 58%, 11%)
HSVhsv(291, 73%, 18%)
CMYKcmyk(11.1%, 73.3%, 0%, 82.4%)
CIE-LABlab(8.16, 20.72, -15.78)
CIE-LCHlch(8.16, 26.04, 322.71°)
OKLaboklab(21.71% 0.0549 -0.0439)
OKLCHoklch(21.71% 0.07 321.3)
XYZxyz(1.4801, 0.9036, 2.5786)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C2D #112D0C
analogous
#170C2D #280C2D #2D0C21
triadic
#280C2D #2D280C #0C2D28
tetradic
#280C2D #2D170C #112D0C #0C212D
square
#280C2D #2D170C #112D0C #0C212D
split-complementary
#280C2D #212D0C #0C2D17
monochromatic
#150618 #150618 #280C2D #53195D #7E268E

Accessibility & contrast

On white

17.78
#280C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280C2D
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C2D#FFFFFF#000000##FFFFFF
##280C2D1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#0F192C
Tritanopia (blue-blind)
#28111A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280c2d;
/* rgb */ color: rgb(40, 12, 45);
/* oklch */ color: oklch(21.7% 0.070 321.3);
Tailwind
colors: {
  custom: {
    50: '#634d66',
    500: '#280c2d',
    950: '#000000',
  },
}
SCSS
$custom: #280c2d;
$custom-light: #634d66;
$custom-dark: #000000;
JSON
{
  "hex": "#280c2d",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 290.909,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21711,
    "c": 0.07025,
    "h": 321.3
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#280C2D
secondary
#35692C
accent
#E1475E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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