#280631#280631

#280631 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.085 H 318.3°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#280631
RGBrgb(40, 6, 49)
HSLhsl(287, 78%, 11%)
HSVhsv(287, 88%, 19%)
CMYKcmyk(18.4%, 87.8%, 0%, 80.8%)
CIE-LABlab(7.26, 25.02, -20.19)
CIE-LCHlch(7.26, 32.15, 321.11°)
OKLaboklab(21.14% 0.0639 -0.0568)
OKLCHoklch(21.14% 0.085 318.3)
XYZxyz(1.4945, 0.8032, 2.9814)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280631 #0F3106
analogous
#120631 #280631 #310624
triadic
#280631 #312806 #063128
tetradic
#280631 #311206 #0F3106 #062431
square
#280631 #311206 #0F3106 #062431
split-complementary
#280631 #243106 #063112
monochromatic
#16031B #16031B #280631 #550D68 #81139E

Accessibility & contrast

On white

18.09
#280631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#280631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280631
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280631#FFFFFF#000000##FFFFFF
##2806311.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#081730
Tritanopia (blue-blind)
#280E1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #280631;
/* rgb */ color: rgb(40, 6, 49);
/* oklch */ color: oklch(21.1% 0.085 318.3);
Tailwind
colors: {
  custom: {
    50: '#644969',
    500: '#280631',
    950: '#000000',
  },
}
SCSS
$custom: #280631;
$custom-light: #644969;
$custom-dark: #000000;
JSON
{
  "hex": "#280631",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 287.442,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21139,
    "c": 0.08548,
    "h": 318.3
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#280631
secondary
#327221
accent
#F5335C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280631

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

Preview Lab → · Contrast checker → · Palette generator →

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