#280A28#280A28

#280A28 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.068 H 327.7°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#280A28
RGBrgb(40, 10, 40)
HSLhsl(300, 60%, 10%)
HSVhsv(300, 75%, 16%)
CMYKcmyk(0%, 75%, 0%, 84.3%)
CIE-LABlab(7.42, 20.63, -13.20)
CIE-LCHlch(7.42, 24.49, 327.39°)
OKLaboklab(21.05% 0.0576 -0.0365)
OKLCHoklch(21.05% 0.068 327.7)
XYZxyz(1.3666, 0.8215, 2.0937)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A28 #0A280A
analogous
#190A28 #280A28 #280A19
triadic
#280A28 #28280A #0A2828
tetradic
#280A28 #28190A #0A280A #0A1928
square
#280A28 #28190A #0A280A #0A1928
split-complementary
#280A28 #19280A #0A2819
monochromatic
#180618 #180618 #280A28 #591659 #8A228A

Accessibility & contrast

On white

18.04
#280A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A28
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A28#FFFFFF#000000##FFFFFF
##280A281.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#290E17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280a28;
/* rgb */ color: rgb(40, 10, 40);
/* oklch */ color: oklch(21.1% 0.068 327.7);
Tailwind
colors: {
  custom: {
    50: '#634b62',
    500: '#280a28',
    950: '#000000',
  },
}
SCSS
$custom: #280a28;
$custom-light: #634b62;
$custom-dark: #000000;
JSON
{
  "hex": "#280a28",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 40
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21053,
    "c": 0.0682,
    "h": 327.7
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#280A28
secondary
#296529
accent
#E34545
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #280A28

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

Preview Lab → · Contrast checker → · Palette generator →

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