#281D2B#281D2B

#281D2B is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.0% C 0.030 H 318.9°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#281D2B
RGBrgb(40, 29, 43)
HSLhsl(287, 19%, 14%)
HSVhsv(287, 33%, 17%)
CMYKcmyk(7%, 32.6%, 0%, 83.1%)
CIE-LABlab(12.64, 8.61, -7.35)
CIE-LCHlch(12.64, 11.32, 319.53°)
OKLaboklab(25.02% 0.0229 -0.0199)
OKLCHoklch(25.02% 0.03 318.9)
XYZxyz(1.7504, 1.5043, 2.4832)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D2B #202B1D
analogous
#211D2B #281D2B #2B1D27
triadic
#281D2B #2B281D #1D2B28
tetradic
#281D2B #2B211D #202B1D #1D272B
square
#281D2B #2B211D #202B1D #1D272B
split-complementary
#281D2B #272B1D #1D2B21
monochromatic
#110C12 #110C12 #281D2B #4A3650 #6C4E74

Accessibility & contrast

On white

16.14
#281D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D2B
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D2B#FFFFFF#000000##FFFFFF
##281D2B1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#1E212B
Tritanopia (blue-blind)
#281E22
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281d2b;
/* rgb */ color: rgb(40, 29, 43);
/* oklch */ color: oklch(25.0% 0.030 318.9);
Tailwind
colors: {
  custom: {
    50: '#625964',
    500: '#281d2b',
    950: '#000000',
  },
}
SCSS
$custom: #281d2b;
$custom-light: #625964;
$custom-dark: #000000;
JSON
{
  "hex": "#281d2b",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 287.143,
    "s": 19.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25023,
    "c": 0.03034,
    "h": 318.9
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#281D2B
secondary
#4C5D47
accent
#BC6C7D
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281D2B

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

Preview Lab → · Contrast checker → · Palette generator →

#281D2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva