#281A2B#281A2B

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

Color values

HEX#281A2B
RGBrgb(40, 26, 43)
HSLhsl(289, 25%, 14%)
HSVhsv(289, 40%, 17%)
CMYKcmyk(7%, 39.5%, 0%, 83.1%)
CIE-LABlab(11.72, 10.78, -8.75)
CIE-LCHlch(11.72, 13.88, 320.94°)
OKLaboklab(24.32% 0.0288 -0.0238)
OKLCHoklch(24.32% 0.037 320.4)
XYZxyz(1.6805, 1.3644, 2.4599)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A2B #1D2B1A
analogous
#1F1A2B #281A2B #2B1A25
triadic
#281A2B #2B281A #1A2B28
tetradic
#281A2B #2B1F1A #1D2B1A #1A252B
square
#281A2B #2B1F1A #1D2B1A #1A252B
split-complementary
#281A2B #252B1A #1A2B1F
monochromatic
#120C13 #120C13 #281A2B #4B3151 #6F4877

Accessibility & contrast

On white

16.50
#281A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281A2B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A2B#FFFFFF#000000##FFFFFF
##281A2B1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#281C20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281a2b;
/* rgb */ color: rgb(40, 26, 43);
/* oklch */ color: oklch(24.3% 0.037 320.4);
Tailwind
colors: {
  custom: {
    50: '#625664',
    500: '#281a2b',
    950: '#000000',
  },
}
SCSS
$custom: #281a2b;
$custom-light: #625664;
$custom-dark: #000000;
JSON
{
  "hex": "#281a2b",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 289.412,
    "s": 24.638,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24323,
    "c": 0.03738,
    "h": 320.4
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#281A2B
secondary
#475E43
accent
#C16777
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #281A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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