#280C36#280C36

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

Color values

HEX#280C36
RGBrgb(40, 12, 54)
HSLhsl(280, 64%, 13%)
HSVhsv(280, 78%, 21%)
CMYKcmyk(25.9%, 77.8%, 0%, 78.8%)
CIE-LABlab(8.83, 23.03, -21.33)
CIE-LCHlch(8.83, 31.39, 317.20°)
OKLaboklab(22.41% 0.0548 -0.0601)
OKLCHoklch(22.41% 0.081 312.3)
XYZxyz(1.6723, 0.9804, 3.5905)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280C36 #1A360C
analogous
#130C36 #280C36 #360C2F
triadic
#280C36 #36280C #0C3628
tetradic
#280C36 #36130C #1A360C #0C2F36
square
#280C36 #36130C #1A360C #0C2F36
split-complementary
#280C36 #2F360C #0C3613
monochromatic
#130619 #130619 #280C36 #4D1768 #72229A

Accessibility & contrast

On white

17.56
#280C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280C36
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280C36#FFFFFF#000000##FFFFFF
##280C361.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#081A35
Tritanopia (blue-blind)
#26141F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280c36;
/* rgb */ color: rgb(40, 12, 54);
/* oklch */ color: oklch(22.4% 0.081 312.3);
Tailwind
colors: {
  custom: {
    50: '#644d6d',
    500: '#280c36',
    950: '#000000',
  },
}
SCSS
$custom: #280c36;
$custom-light: #644d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#280c36",
  "rgb": {
    "r": 40,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 280,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22407,
    "c": 0.08131,
    "h": 312.3
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#280C36
secondary
#43722C
accent
#E74178
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #280C36

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

Preview Lab → · Contrast checker → · Palette generator →

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