#280131#280131

#280131 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.095 H 319.3°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#280131
RGBrgb(40, 1, 49)
HSLhsl(289, 96%, 10%)
HSVhsv(289, 98%, 19%)
CMYKcmyk(18.4%, 98%, 0%, 80.8%)
CIE-LABlab(6.28, 27.71, -21.75)
CIE-LCHlch(6.28, 35.23, 321.87°)
OKLaboklab(20.37% 0.0722 -0.062)
OKLCHoklch(20.37% 0.095 319.3)
XYZxyz(1.4402, 0.6947, 2.9634)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280131 #0A3101
analogous
#100131 #280131 #310122
triadic
#280131 #312801 #013128
tetradic
#280131 #311001 #0A3101 #012231
square
#280131 #311001 #0A3101 #012231
split-complementary
#280131 #223101 #013110
monochromatic
#18011E #18011E #280131 #59026D #8A03A9

Accessibility & contrast

On white

18.44
#280131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280131
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280131#FFFFFF#000000##FFFFFF
##2801311.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#031530
Tritanopia (blue-blind)
#280A19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280131;
/* rgb */ color: rgb(40, 1, 49);
/* oklch */ color: oklch(20.4% 0.095 319.3);
Tailwind
colors: {
  custom: {
    50: '#644769',
    500: '#280131',
    950: '#000000',
  },
}
SCSS
$custom: #280131;
$custom-light: #644769;
$custom-dark: #000000;
JSON
{
  "hex": "#280131",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 288.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20367,
    "c": 0.09511,
    "h": 319.3
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#280131
secondary
#297717
accent
#FF2951
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #280131

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

Preview Lab → · Contrast checker → · Palette generator →

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