#281D2A#281D2A

#281D2A is a very dark, muted purple. Relative luminance 0.015; OKLCH L 25.0% C 0.029 H 321.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#281D2A
RGBrgb(40, 29, 42)
HSLhsl(291, 18%, 14%)
HSVhsv(291, 31%, 16%)
CMYKcmyk(4.8%, 31%, 0%, 83.5%)
CIE-LABlab(12.59, 8.35, -6.69)
CIE-LCHlch(12.59, 10.70, 321.31°)
OKLaboklab(24.97% 0.0225 -0.0181)
OKLCHoklch(24.97% 0.029 321.2)
XYZxyz(1.7323, 1.4971, 2.3877)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D2A #1F2A1D
analogous
#221D2A #281D2A #2A1D26
triadic
#281D2A #2A281D #1D2A28
tetradic
#281D2A #2A221D #1F2A1D #1D262A
square
#281D2A #2A221D #1F2A1D #1D262A
split-complementary
#281D2A #262A1D #1D2A22
monochromatic
#110C12 #110C12 #281D2A #4A364E #6D4F72

Accessibility & contrast

On white

16.16
#281D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281D2A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D2A#FFFFFF#000000##FFFFFF
##281D2A1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281d2a;
/* rgb */ color: rgb(40, 29, 42);
/* oklch */ color: oklch(25.0% 0.029 321.2);
Tailwind
colors: {
  custom: {
    50: '#625963',
    500: '#281d2a',
    950: '#000000',
  },
}
SCSS
$custom: #281d2a;
$custom-light: #625963;
$custom-dark: #000000;
JSON
{
  "hex": "#281d2a",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 290.769,
    "s": 18.31,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24972,
    "c": 0.02886,
    "h": 321.2
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#281D2A
secondary
#4A5C47
accent
#BB6D79
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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