#281A2A#281A2A

#281A2A is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.3% C 0.036 H 322.3°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#281A2A
RGBrgb(40, 26, 42)
HSLhsl(293, 24%, 13%)
HSVhsv(293, 38%, 16%)
CMYKcmyk(4.8%, 38.1%, 0%, 83.5%)
CIE-LABlab(11.67, 10.52, -8.09)
CIE-LCHlch(11.67, 13.27, 322.44°)
OKLaboklab(24.27% 0.0284 -0.022)
OKLCHoklch(24.27% 0.036 322.3)
XYZxyz(1.6623, 1.3571, 2.3644)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2A #1C2A1A
analogous
#201A2A #281A2A #2A1A24
triadic
#281A2A #2A281A #1A2A28
tetradic
#281A2A #2A201A #1C2A1A #1A242A
square
#281A2A #2A201A #1C2A1A #1A242A
split-complementary
#281A2A #242A1A #1A2A20
monochromatic
#120C13 #120C13 #281A2A #4C3150 #704976

Accessibility & contrast

On white

16.52
#281A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#281A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A2A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2A#FFFFFF#000000##FFFFFF
##281A2A1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2B
Deuteranopia (green-blind)
#1C1F29
Tritanopia (blue-blind)
#291C20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2a;
/* rgb */ color: rgb(40, 26, 42);
/* oklch */ color: oklch(24.3% 0.036 322.3);
Tailwind
colors: {
  custom: {
    50: '#625663',
    500: '#281a2a',
    950: '#000000',
  },
}
SCSS
$custom: #281a2a;
$custom-light: #625663;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2a",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 292.5,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24269,
    "c": 0.03595,
    "h": 322.3
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#281A2A
secondary
#465D43
accent
#C06873
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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