#280322#280322

#280322 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.077 H 335.3°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#280322
RGBrgb(40, 3, 34)
HSLhsl(310, 86%, 8%)
HSVhsv(310, 93%, 16%)
CMYKcmyk(0%, 92.5%, 15%, 84.3%)
CIE-LABlab(5.71, 22.75, -11.27)
CIE-LCHlch(5.71, 25.39, 333.63°)
OKLaboklab(19.51% 0.0699 -0.0321)
OKLCHoklch(19.51% 0.077 335.3)
XYZxyz(1.1964, 0.6318, 1.5720)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280322 #032809
analogous
#1B0328 #280322 #28030F
triadic
#280322 #222803 #032228
tetradic
#280322 #281B03 #032809 #030F28
square
#280322 #281B03 #032809 #030F28
split-complementary
#280322 #0F2803 #03281B
monochromatic
#1C0218 #1C0218 #280322 #610752 #9A0C83

Accessibility & contrast

On white

18.64
#280322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#280322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280322
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280322#FFFFFF#000000##FFFFFF
##2803221.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#0F1521
Tritanopia (blue-blind)
#2B0511
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280322;
/* rgb */ color: rgb(40, 3, 34);
/* oklch */ color: oklch(19.5% 0.077 335.3);
Tailwind
colors: {
  custom: {
    50: '#63475d',
    500: '#280322',
    950: '#000000',
  },
}
SCSS
$custom: #280322;
$custom-light: #63475d;
$custom-dark: #000000;
JSON
{
  "hex": "#280322",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 309.73,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1951,
    "c": 0.07686,
    "h": 335.3
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#280322
secondary
#1B6C28
accent
#FC4D2C
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280322

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

Preview Lab → · Contrast checker → · Palette generator →

#280322 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva