#2A1A2C#2A1A2C

#2A1A2C is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.6% C 0.040 H 322.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#2A1A2C
RGBrgb(42, 26, 44)
HSLhsl(293, 26%, 14%)
HSVhsv(293, 41%, 17%)
CMYKcmyk(4.5%, 40.9%, 0%, 82.7%)
CIE-LABlab(12.04, 11.87, -8.96)
CIE-LCHlch(12.04, 14.87, 322.97°)
OKLaboklab(24.65% 0.0322 -0.0244)
OKLCHoklch(24.65% 0.04 322.8)
XYZxyz(1.7788, 1.4129, 2.5614)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1A2C #1C2C1A
analogous
#211A2C #2A1A2C #2C1A25
triadic
#2A1A2C #2C2A1A #1A2C2A
tetradic
#2A1A2C #2C211A #1C2C1A #1A252C
square
#2A1A2C #2C211A #1C2C1A #1A252C
split-complementary
#2A1A2C #252C1A #1A2C21
monochromatic
#120B13 #120B13 #2A1A2C #4F3152 #734779

Accessibility & contrast

On white

16.37
#2A1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1A2C
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1A2C#FFFFFF#000000##FFFFFF
##2A1A2C1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2D
Deuteranopia (green-blind)
#1C202B
Tritanopia (blue-blind)
#2B1C21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a1a2c;
/* rgb */ color: rgb(42, 26, 44);
/* oklch */ color: oklch(24.6% 0.040 322.8);
Tailwind
colors: {
  custom: {
    50: '#645665',
    500: '#2a1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a1a2c;
$custom-light: #645665;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1a2c",
  "rgb": {
    "r": 42,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 293.333,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24648,
    "c": 0.04036,
    "h": 322.8
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#2A1A2C
secondary
#465F42
accent
#C26670
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #2A1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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