#280431#280431

#280431 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.089 H 318.7°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#280431
RGBrgb(40, 4, 49)
HSLhsl(288, 85%, 10%)
HSVhsv(288, 92%, 19%)
CMYKcmyk(18.4%, 91.8%, 0%, 80.8%)
CIE-LABlab(6.86, 26.11, -20.81)
CIE-LCHlch(6.86, 33.39, 321.44°)
OKLaboklab(20.84% 0.0671 -0.0588)
OKLCHoklch(20.84% 0.089 318.7)
XYZxyz(1.4728, 0.7598, 2.9742)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280431 #0D3104
analogous
#110431 #280431 #310423
triadic
#280431 #312804 #043128
tetradic
#280431 #311104 #0D3104 #042331
square
#280431 #311104 #0D3104 #042331
split-complementary
#280431 #233104 #043111
monochromatic
#17021C #17021C #280431 #56096A #840DA2

Accessibility & contrast

On white

18.23
#280431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280431
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280431#FFFFFF#000000##FFFFFF
##2804311.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#280D1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280431;
/* rgb */ color: rgb(40, 4, 49);
/* oklch */ color: oklch(20.8% 0.089 318.7);
Tailwind
colors: {
  custom: {
    50: '#644869',
    500: '#280431',
    950: '#000000',
  },
}
SCSS
$custom: #280431;
$custom-light: #644869;
$custom-dark: #000000;
JSON
{
  "hex": "#280431",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 288,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20837,
    "c": 0.0892,
    "h": 318.7
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#280431
secondary
#2F731D
accent
#FB2D56
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #280431

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

Preview Lab → · Contrast checker → · Palette generator →

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