#281D2D#281D2D

#281D2D is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.1% C 0.033 H 315.0°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#281D2D
RGBrgb(40, 29, 45)
HSLhsl(281, 22%, 15%)
HSVhsv(281, 36%, 18%)
CMYKcmyk(11.1%, 35.6%, 0%, 82.4%)
CIE-LABlab(12.73, 9.14, -8.65)
CIE-LCHlch(12.73, 12.59, 316.58°)
OKLaboklab(25.13% 0.0236 -0.0236)
OKLCHoklch(25.13% 0.033 315)
XYZxyz(1.7880, 1.5193, 2.6812)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D2D #222D1D
analogous
#201D2D #281D2D #2D1D2A
triadic
#281D2D #2D281D #1D2D28
tetradic
#281D2D #2D201D #222D1D #1D2A2D
square
#281D2D #2D201D #222D1D #1D2A2D
split-complementary
#281D2D #2A2D1D #1D2D20
monochromatic
#110C13 #110C13 #281D2D #493552 #6A4D77

Accessibility & contrast

On white

16.11
#281D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281D2D
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D2D#FFFFFF#000000##FFFFFF
##281D2D1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202E
Deuteranopia (green-blind)
#1D212C
Tritanopia (blue-blind)
#281F23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281d2d;
/* rgb */ color: rgb(40, 29, 45);
/* oklch */ color: oklch(25.1% 0.033 315.0);
Tailwind
colors: {
  custom: {
    50: '#625966',
    500: '#281d2d',
    950: '#000000',
  },
}
SCSS
$custom: #281d2d;
$custom-light: #625966;
$custom-dark: #000000;
JSON
{
  "hex": "#281d2d",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 281.25,
    "s": 21.622,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25127,
    "c": 0.03339,
    "h": 315
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#281D2D
secondary
#4E5F46
accent
#BE6A84
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #281D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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