#280E31#280E31

#280E31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.071 H 316.5°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#280E31
RGBrgb(40, 14, 49)
HSLhsl(285, 56%, 12%)
HSVhsv(285, 71%, 19%)
CMYKcmyk(18.4%, 71.4%, 0%, 80.8%)
CIE-LABlab(8.88, 20.53, -17.59)
CIE-LCHlch(8.88, 27.03, 319.41°)
OKLaboklab(22.33% 0.0519 -0.0492)
OKLCHoklch(22.33% 0.071 316.5)
XYZxyz(1.5864, 0.9870, 3.0121)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280E31 #17310E
analogous
#160E31 #280E31 #310E29
triadic
#280E31 #31280E #0E3128
tetradic
#280E31 #31160E #17310E #0E2931
square
#280E31 #31160E #17310E #0E2931
split-complementary
#280E31 #29310E #0E3116
monochromatic
#130718 #130718 #280E31 #4F1C61 #762990

Accessibility & contrast

On white

17.54
#280E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280E31
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280E31#FFFFFF#000000##FFFFFF
##280E311.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051832
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#28141D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280e31;
/* rgb */ color: rgb(40, 14, 49);
/* oklch */ color: oklch(22.3% 0.071 316.5);
Tailwind
colors: {
  custom: {
    50: '#634e69',
    500: '#280e31',
    950: '#000000',
  },
}
SCSS
$custom: #280e31;
$custom-light: #634e69;
$custom-dark: #000000;
JSON
{
  "hex": "#280e31",
  "rgb": {
    "r": 40,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 284.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22327,
    "c": 0.07146,
    "h": 316.5
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#280E31
secondary
#3F6C2F
accent
#DF496F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #280E31

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

Preview Lab → · Contrast checker → · Palette generator →

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