#280F2C#280F2C

#280F2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.1% C 0.063 H 322.0°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#280F2C
RGBrgb(40, 15, 44)
HSLhsl(292, 49%, 12%)
HSVhsv(292, 66%, 17%)
CMYKcmyk(9.1%, 65.9%, 0%, 82.7%)
CIE-LABlab(8.78, 18.62, -14.06)
CIE-LCHlch(8.78, 23.33, 322.95°)
OKLaboklab(22.14% 0.0497 -0.0389)
OKLCHoklch(22.14% 0.063 322)
XYZxyz(1.5005, 0.9747, 2.4915)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F2C #132C0F
analogous
#1A0F2C #280F2C #2C0F22
triadic
#280F2C #2C280F #0F2C28
tetradic
#280F2C #2C1A0F #132C0F #0F222C
square
#280F2C #2C1A0F #132C0F #0F222C
split-complementary
#280F2C #222C0F #0F2C1A
monochromatic
#150817 #150817 #280F2C #511F5A #7B2E87

Accessibility & contrast

On white

17.57
#280F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#280F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F2C
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F2C#FFFFFF#000000##FFFFFF
##280F2C1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#29131B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280f2c;
/* rgb */ color: rgb(40, 15, 44);
/* oklch */ color: oklch(22.1% 0.063 322.0);
Tailwind
colors: {
  custom: {
    50: '#634e65',
    500: '#280f2c',
    950: '#000000',
  },
}
SCSS
$custom: #280f2c;
$custom-light: #634e65;
$custom-dark: #000000;
JSON
{
  "hex": "#280f2c",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 291.724,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22141,
    "c": 0.06316,
    "h": 322
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#280F2C
secondary
#396531
accent
#D94F62
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #280F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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