#2A1A28#2A1A28

#2A1A28 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.4% C 0.035 H 331.0°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#2A1A28
RGBrgb(42, 26, 40)
HSLhsl(308, 24%, 13%)
HSVhsv(308, 38%, 16%)
CMYKcmyk(0%, 38.1%, 4.8%, 83.5%)
CIE-LABlab(11.85, 10.89, -6.32)
CIE-LCHlch(11.85, 12.59, 329.86°)
OKLaboklab(24.44% 0.0307 -0.017)
OKLCHoklch(24.44% 0.035 331)
XYZxyz(1.7072, 1.3843, 2.1843)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1A28 #1A2A1C
analogous
#241A2A #2A1A28 #2A1A20
triadic
#2A1A28 #282A1A #1A282A
tetradic
#2A1A28 #2A241A #1A2A1C #1A202A
square
#2A1A28 #2A241A #1A2A1C #1A202A
split-complementary
#2A1A28 #202A1A #1A2A24
monochromatic
#130C12 #130C12 #2A1A28 #50314C #764970

Accessibility & contrast

On white

16.45
#2A1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1A28
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1A28#FFFFFF#000000##FFFFFF
##2A1A281.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E29
Deuteranopia (green-blind)
#1D2027
Tritanopia (blue-blind)
#2B1B1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1a28;
/* rgb */ color: rgb(42, 26, 40);
/* oklch */ color: oklch(24.4% 0.035 331.0);
Tailwind
colors: {
  custom: {
    50: '#645661',
    500: '#2a1a28',
    950: '#000000',
  },
}
SCSS
$custom: #2a1a28;
$custom-light: #645661;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1a28",
  "rgb": {
    "r": 42,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 307.5,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24441,
    "c": 0.03511,
    "h": 331
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#2A1A28
secondary
#435D46
accent
#C07368
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050305
muted
#797879

Preview Lab

Preview with #2A1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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