#280A31#280A31

#280A31 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.079 H 317.5°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#280A31
RGBrgb(40, 10, 49)
HSLhsl(286, 66%, 12%)
HSVhsv(286, 80%, 19%)
CMYKcmyk(18.4%, 79.6%, 0%, 80.8%)
CIE-LABlab(8.04, 22.85, -18.93)
CIE-LCHlch(8.04, 29.67, 320.35°)
OKLaboklab(21.72% 0.0579 -0.0531)
OKLCHoklch(21.72% 0.079 317.5)
XYZxyz(1.5379, 0.8900, 2.9959)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A31 #13310A
analogous
#150A31 #280A31 #310A27
triadic
#280A31 #31280A #0A3128
tetradic
#280A31 #31150A #13310A #0A2731
square
#280A31 #31150A #13310A #0A2731
split-complementary
#280A31 #27310A #0A3115
monochromatic
#150519 #150519 #280A31 #511464 #7B1F97

Accessibility & contrast

On white

17.83
#280A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280A31
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A31#FFFFFF#000000##FFFFFF
##280A311.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001632
Deuteranopia (green-blind)
#0B1930
Tritanopia (blue-blind)
#28111C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280a31;
/* rgb */ color: rgb(40, 10, 49);
/* oklch */ color: oklch(21.7% 0.079 317.5);
Tailwind
colors: {
  custom: {
    50: '#644c69',
    500: '#280a31',
    950: '#000000',
  },
}
SCSS
$custom: #280a31;
$custom-light: #644c69;
$custom-dark: #000000;
JSON
{
  "hex": "#280a31",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 286.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21716,
    "c": 0.07855,
    "h": 317.5
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#280A31
secondary
#396E29
accent
#E93F66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280A31

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

Preview Lab → · Contrast checker → · Palette generator →

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