#281A26#281A26

#281A26 is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.1% C 0.031 H 331.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#281A26
RGBrgb(40, 26, 38)
HSLhsl(309, 21%, 13%)
HSVhsv(309, 35%, 16%)
CMYKcmyk(0%, 35%, 5%, 84.3%)
CIE-LABlab(11.48, 9.53, -5.44)
CIE-LCHlch(11.48, 10.97, 330.29°)
OKLaboklab(24.07% 0.0269 -0.0146)
OKLCHoklch(24.07% 0.031 331.5)
XYZxyz(1.5943, 1.3299, 2.0061)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A26 #1A281C
analogous
#231A28 #281A26 #281A1F
triadic
#281A26 #26281A #1A2628
tetradic
#281A26 #28231A #1A281C #1A1F28
square
#281A26 #28231A #1A281C #1A1F28
split-complementary
#281A26 #1F281A #1A2823
monochromatic
#130C12 #130C12 #281A26 #4D3249 #724A6C

Accessibility & contrast

On white

16.59
#281A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A26
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A26#FFFFFF#000000##FFFFFF
##281A261.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1D26
Deuteranopia (green-blind)
#1D1F26
Tritanopia (blue-blind)
#291B1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281a26;
/* rgb */ color: rgb(40, 26, 38);
/* oklch */ color: oklch(24.1% 0.031 331.5);
Tailwind
colors: {
  custom: {
    50: '#625660',
    500: '#281a26',
    950: '#000000',
  },
}
SCSS
$custom: #281a26;
$custom-light: #625660;
$custom-dark: #000000;
JSON
{
  "hex": "#281a26",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 308.571,
    "s": 21.212,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24066,
    "c": 0.03059,
    "h": 331.5
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#281A26
secondary
#435B47
accent
#BE766A
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #281A26

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

Preview Lab → · Contrast checker → · Palette generator →

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