#280F2E#280F2E

#280F2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 319.5°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#280F2E
RGBrgb(40, 15, 46)
HSLhsl(288, 51%, 12%)
HSVhsv(288, 67%, 18%)
CMYKcmyk(13%, 67.4%, 0%, 82%)
CIE-LABlab(8.91, 19.13, -15.33)
CIE-LCHlch(8.91, 24.52, 321.28°)
OKLaboklab(22.28% 0.05 -0.0426)
OKLCHoklch(22.28% 0.066 319.5)
XYZxyz(1.5390, 0.9901, 2.6943)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F2E #152E0F
analogous
#190F2E #280F2E #2E0F25
triadic
#280F2E #2E280F #0F2E28
tetradic
#280F2E #2E190F #152E0F #0F252E
square
#280F2E #2E190F #152E0F #0F252E
split-complementary
#280F2E #252E0F #0F2E19
monochromatic
#140817 #140817 #280F2E #501E5C #782D8A

Accessibility & contrast

On white

17.53
#280F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F2E
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F2E#FFFFFF#000000##FFFFFF
##280F2E1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#28141C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280f2e;
/* rgb */ color: rgb(40, 15, 46);
/* oklch */ color: oklch(22.3% 0.066 319.5);
Tailwind
colors: {
  custom: {
    50: '#634e67',
    500: '#280f2e',
    950: '#000000',
  },
}
SCSS
$custom: #280f2e;
$custom-light: #634e67;
$custom-dark: #000000;
JSON
{
  "hex": "#280f2e",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 288.387,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22279,
    "c": 0.06569,
    "h": 319.5
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#280F2E
secondary
#3C6831
accent
#DA4D69
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #280F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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