#280C2A#280C2A

#280C2A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.067 H 324.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#280C2A
RGBrgb(40, 12, 42)
HSLhsl(296, 56%, 11%)
HSVhsv(296, 71%, 16%)
CMYKcmyk(4.8%, 71.4%, 0%, 83.5%)
CIE-LABlab(7.96, 19.99, -13.86)
CIE-LCHlch(7.96, 24.33, 325.28°)
OKLaboklab(21.5% 0.0546 -0.0383)
OKLCHoklch(21.5% 0.067 324.9)
XYZxyz(1.4244, 0.8813, 2.2851)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C2A #0E2A0C
analogous
#190C2A #280C2A #2A0C1D
triadic
#280C2A #2A280C #0C2A28
tetradic
#280C2A #2A190C #0E2A0C #0C1D2A
square
#280C2A #2A190C #0E2A0C #0C1D2A
split-complementary
#280C2A #1D2A0C #0C2A19
monochromatic
#170718 #170718 #280C2A #551A5A #832789

Accessibility & contrast

On white

17.85
#280C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C2A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C2A#FFFFFF#000000##FFFFFF
##280C2A1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152B
Deuteranopia (green-blind)
#111929
Tritanopia (blue-blind)
#291019
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #280c2a;
/* rgb */ color: rgb(40, 12, 42);
/* oklch */ color: oklch(21.5% 0.067 324.9);
Tailwind
colors: {
  custom: {
    50: '#634c63',
    500: '#280c2a',
    950: '#000000',
  },
}
SCSS
$custom: #280c2a;
$custom-light: #634c63;
$custom-dark: #000000;
JSON
{
  "hex": "#280c2a",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 296,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.215,
    "c": 0.0667,
    "h": 324.9
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#280C2A
secondary
#30652D
accent
#DF4953
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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