#280F2D#280F2D

#280F2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.064 H 320.7°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#280F2D
RGBrgb(40, 15, 45)
HSLhsl(290, 50%, 12%)
HSVhsv(290, 67%, 18%)
CMYKcmyk(11.1%, 66.7%, 0%, 82.4%)
CIE-LABlab(8.84, 18.88, -14.70)
CIE-LCHlch(8.84, 23.92, 322.09°)
OKLaboklab(22.21% 0.0499 -0.0408)
OKLCHoklch(22.21% 0.064 320.7)
XYZxyz(1.5195, 0.9823, 2.5917)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F2D #142D0F
analogous
#190F2D #280F2D #2D0F23
triadic
#280F2D #2D280F #0F2D28
tetradic
#280F2D #2D190F #142D0F #0F232D
square
#280F2D #2D190F #142D0F #0F232D
split-complementary
#280F2D #232D0F #0F2D19
monochromatic
#140817 #140817 #280F2D #511E5B #7A2E89

Accessibility & contrast

On white

17.55
#280F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F2D
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F2D#FFFFFF#000000##FFFFFF
##280F2D1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#28131C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280f2d;
/* rgb */ color: rgb(40, 15, 45);
/* oklch */ color: oklch(22.2% 0.064 320.7);
Tailwind
colors: {
  custom: {
    50: '#634e66',
    500: '#280f2d',
    950: '#000000',
  },
}
SCSS
$custom: #280f2d;
$custom-light: #634e66;
$custom-dark: #000000;
JSON
{
  "hex": "#280f2d",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 290,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2221,
    "c": 0.06443,
    "h": 320.7
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#280F2D
secondary
#3A6631
accent
#DA4E65
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #280F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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