#280B31#280B31

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

Color values

HEX#280B31
RGBrgb(40, 11, 49)
HSLhsl(286, 63%, 12%)
HSVhsv(286, 78%, 19%)
CMYKcmyk(18.4%, 77.6%, 0%, 80.8%)
CIE-LABlab(8.24, 22.29, -18.61)
CIE-LCHlch(8.24, 29.04, 320.14°)
OKLaboklab(21.86% 0.0565 -0.0522)
OKLCHoklch(21.86% 0.077 317.3)
XYZxyz(1.5490, 0.9123, 2.9996)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B31 #14310B
analogous
#150B31 #280B31 #310B27
triadic
#280B31 #31280B #0B3128
tetradic
#280B31 #31150B #14310B #0B2731
square
#280B31 #31150B #14310B #0B2731
split-complementary
#280B31 #27310B #0B3115
monochromatic
#140619 #140619 #280B31 #511663 #7A2195

Accessibility & contrast

On white

17.76
#280B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B31
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B31#FFFFFF#000000##FFFFFF
##280B311.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021632
Deuteranopia (green-blind)
#0C1930
Tritanopia (blue-blind)
#28121C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280b31;
/* rgb */ color: rgb(40, 11, 49);
/* oklch */ color: oklch(21.9% 0.077 317.3);
Tailwind
colors: {
  custom: {
    50: '#634c69',
    500: '#280b31',
    950: '#000000',
  },
}
SCSS
$custom: #280b31;
$custom-light: #634c69;
$custom-dark: #000000;
JSON
{
  "hex": "#280b31",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 285.789,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21859,
    "c": 0.07687,
    "h": 317.3
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#280B31
secondary
#3A6E2A
accent
#E64168
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280B31

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

Preview Lab → · Contrast checker → · Palette generator →

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