#280C2B#280C2B

#280C2B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.068 H 323.7°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#280C2B
RGBrgb(40, 12, 43)
HSLhsl(294, 56%, 11%)
HSVhsv(294, 72%, 17%)
CMYKcmyk(7%, 72.1%, 0%, 83.1%)
CIE-LABlab(8.03, 20.23, -14.50)
CIE-LCHlch(8.03, 24.89, 324.37°)
OKLaboklab(21.57% 0.0547 -0.0402)
OKLCHoklch(21.57% 0.068 323.7)
XYZxyz(1.4425, 0.8886, 2.3806)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C2B #0F2B0C
analogous
#180C2B #280C2B #2B0C1E
triadic
#280C2B #2B280C #0C2B28
tetradic
#280C2B #2B180C #0F2B0C #0C1E2B
square
#280C2B #2B180C #0F2B0C #0C1E2B
split-complementary
#280C2B #1E2B0C #0C2B18
monochromatic
#160718 #160718 #280C2B #55195B #81278B

Accessibility & contrast

On white

17.83
#280C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C2B
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C2B#FFFFFF#000000##FFFFFF
##280C2B1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#291019
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280c2b;
/* rgb */ color: rgb(40, 12, 43);
/* oklch */ color: oklch(21.6% 0.068 323.7);
Tailwind
colors: {
  custom: {
    50: '#634c64',
    500: '#280c2b',
    950: '#000000',
  },
}
SCSS
$custom: #280c2b;
$custom-light: #634c64;
$custom-dark: #000000;
JSON
{
  "hex": "#280c2b",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 294.194,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.06787,
    "h": 323.7
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#280C2B
secondary
#32662C
accent
#E04857
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #280C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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