#280B32#280B32

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

Color values

HEX#280B32
RGBrgb(40, 11, 50)
HSLhsl(285, 64%, 12%)
HSVhsv(285, 78%, 20%)
CMYKcmyk(20%, 78%, 0%, 80.4%)
CIE-LABlab(8.31, 22.55, -19.23)
CIE-LCHlch(8.31, 29.64, 319.54°)
OKLaboklab(21.94% 0.0564 -0.054)
OKLCHoklch(21.94% 0.078 316.3)
XYZxyz(1.5704, 0.9208, 3.1120)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280B32 #15320B
analogous
#150B32 #280B32 #320B29
triadic
#280B32 #32280B #0B3228
tetradic
#280B32 #32150B #15320B #0B2932
square
#280B32 #32150B #15320B #0B2932
split-complementary
#280B32 #29320B #0B3215
monochromatic
#140619 #140619 #280B32 #501664 #782196

Accessibility & contrast

On white

17.73
#280B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280B32
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280B32#FFFFFF#000000##FFFFFF
##280B321.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011633
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#27121D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280b32;
/* rgb */ color: rgb(40, 11, 50);
/* oklch */ color: oklch(21.9% 0.078 316.3);
Tailwind
colors: {
  custom: {
    50: '#644c6a',
    500: '#280b32',
    950: '#000000',
  },
}
SCSS
$custom: #280b32;
$custom-light: #644c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#280b32",
  "rgb": {
    "r": 40,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 284.615,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21938,
    "c": 0.07807,
    "h": 316.3
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#280B32
secondary
#3C6F2A
accent
#E7416B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280B32

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

Preview Lab → · Contrast checker → · Palette generator →

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