#280C2F#280C2F

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

Color values

HEX#280C2F
RGBrgb(40, 12, 47)
HSLhsl(288, 59%, 12%)
HSVhsv(288, 74%, 18%)
CMYKcmyk(14.9%, 74.5%, 0%, 81.6%)
CIE-LABlab(8.30, 21.21, -17.04)
CIE-LCHlch(8.30, 27.21, 321.23°)
OKLaboklab(21.86% 0.0549 -0.0476)
OKLCHoklch(21.86% 0.073 319.1)
XYZxyz(1.5196, 0.9194, 2.7862)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C2F #132F0C
analogous
#170C2F #280C2F #2F0C25
triadic
#280C2F #2F280C #0C2F28
tetradic
#280C2F #2F170C #132F0C #0C252F
square
#280C2F #2F170C #132F0C #0C252F
split-complementary
#280C2F #252F0C #0C2F17
monochromatic
#150618 #150618 #280C2F #511860 #7B2591

Accessibility & contrast

On white

17.74
#280C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C2F
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C2F#FFFFFF#000000##FFFFFF
##280C2F1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#28121B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280c2f;
/* rgb */ color: rgb(40, 12, 47);
/* oklch */ color: oklch(21.9% 0.073 319.1);
Tailwind
colors: {
  custom: {
    50: '#634d67',
    500: '#280c2f',
    950: '#000000',
  },
}
SCSS
$custom: #280c2f;
$custom-light: #634d67;
$custom-dark: #000000;
JSON
{
  "hex": "#280c2f",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 288,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21858,
    "c": 0.07267,
    "h": 319.1
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#280C2F
secondary
#396B2C
accent
#E34565
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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