#2A1A2A#2A1A2A

#2A1A2A is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.5% C 0.038 H 326.7°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#2A1A2A
RGBrgb(42, 26, 42)
HSLhsl(300, 24%, 13%)
HSVhsv(300, 38%, 16%)
CMYKcmyk(0%, 38.1%, 0%, 83.5%)
CIE-LABlab(11.95, 11.37, -7.64)
CIE-LCHlch(11.95, 13.70, 326.09°)
OKLaboklab(24.54% 0.0315 -0.0207)
OKLCHoklch(24.54% 0.038 326.7)
XYZxyz(1.7421, 1.3983, 2.3682)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1A2A #1A2A1A
analogous
#221A2A #2A1A2A #2A1A22
triadic
#2A1A2A #2A2A1A #1A2A2A
tetradic
#2A1A2A #2A221A #1A2A1A #1A222A
square
#2A1A2A #2A221A #1A2A1A #1A222A
split-complementary
#2A1A2A #222A1A #1A2A22
monochromatic
#130C13 #130C13 #2A1A2A #503150 #764976

Accessibility & contrast

On white

16.41
#2A1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2A1A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1A2A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1A2A#FFFFFF#000000##FFFFFF
##2A1A2A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#1D2029
Tritanopia (blue-blind)
#2B1B20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1a2a;
/* rgb */ color: rgb(42, 26, 42);
/* oklch */ color: oklch(24.5% 0.038 326.7);
Tailwind
colors: {
  custom: {
    50: '#645663',
    500: '#2a1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a1a2a;
$custom-light: #645663;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1a2a",
  "rgb": {
    "r": 42,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24542,
    "c": 0.03766,
    "h": 326.7
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#2A1A2A
secondary
#435D43
accent
#C06868
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #2A1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A1A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva