#280F2F#280F2F

#280F2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.067 H 318.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#280F2F
RGBrgb(40, 15, 47)
HSLhsl(287, 52%, 12%)
HSVhsv(287, 68%, 18%)
CMYKcmyk(14.9%, 68.1%, 0%, 81.6%)
CIE-LABlab(8.98, 19.38, -15.97)
CIE-LCHlch(8.98, 25.11, 320.52°)
OKLaboklab(22.35% 0.0501 -0.0445)
OKLCHoklch(22.35% 0.067 318.4)
XYZxyz(1.5589, 0.9981, 2.7993)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F2F #162F0F
analogous
#180F2F #280F2F #2F0F26
triadic
#280F2F #2F280F #0F2F28
tetradic
#280F2F #2F180F #162F0F #0F262F
square
#280F2F #2F180F #162F0F #0F262F
split-complementary
#280F2F #262F0F #0F2F18
monochromatic
#140717 #140717 #280F2F #4F1E5D #772D8C

Accessibility & contrast

On white

17.51
#280F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280F2F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F2F#FFFFFF#000000##FFFFFF
##280F2F1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#28141D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280f2f;
/* rgb */ color: rgb(40, 15, 47);
/* oklch */ color: oklch(22.4% 0.067 318.4);
Tailwind
colors: {
  custom: {
    50: '#634e67',
    500: '#280f2f',
    950: '#000000',
  },
}
SCSS
$custom: #280f2f;
$custom-light: #634e67;
$custom-dark: #000000;
JSON
{
  "hex": "#280f2f",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 286.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2235,
    "c": 0.06697,
    "h": 318.4
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#280F2F
secondary
#3D6931
accent
#DB4D6C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #280F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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