#281131#281131

#281131 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.066 H 315.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#281131
RGBrgb(40, 17, 49)
HSLhsl(283, 48%, 13%)
HSVhsv(283, 65%, 19%)
CMYKcmyk(18.4%, 65.3%, 0%, 80.8%)
CIE-LABlab(9.59, 18.63, -16.46)
CIE-LCHlch(9.59, 24.86, 318.53°)
OKLaboklab(22.85% 0.0469 -0.0459)
OKLCHoklch(22.85% 0.066 315.6)
XYZxyz(1.6298, 1.0738, 3.0265)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281131 #1A3111
analogous
#181131 #281131 #31112A
triadic
#281131 #312811 #113128
tetradic
#281131 #311811 #1A3111 #112A31
square
#281131 #311811 #1A3111 #112A31
split-complementary
#281131 #2A3111 #113118
monochromatic
#130817 #130817 #281131 #4D215E #72318C

Accessibility & contrast

On white

17.29
#281131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#281131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281131
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281131#FFFFFF#000000##FFFFFF
##2811311.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#27161E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281131;
/* rgb */ color: rgb(40, 17, 49);
/* oklch */ color: oklch(22.8% 0.066 315.6);
Tailwind
colors: {
  custom: {
    50: '#635069',
    500: '#281131',
    950: '#000000',
  },
}
SCSS
$custom: #281131;
$custom-light: #635069;
$custom-dark: #000000;
JSON
{
  "hex": "#281131",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 283.125,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22846,
    "c": 0.06562,
    "h": 315.6
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#281131
secondary
#436A34
accent
#D85076
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281131

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

Preview Lab → · Contrast checker → · Palette generator →

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