#2A1A2E#2A1A2E

#2A1A2E is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.043 H 319.4°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2A1A2E
RGBrgb(42, 26, 46)
HSLhsl(288, 28%, 14%)
HSVhsv(288, 43%, 18%)
CMYKcmyk(8.7%, 43.5%, 0%, 82%)
CIE-LABlab(12.14, 12.39, -10.26)
CIE-LCHlch(12.14, 16.08, 320.38°)
OKLaboklab(24.76% 0.0328 -0.0281)
OKLCHoklch(24.76% 0.043 319.4)
XYZxyz(1.8173, 1.4283, 2.7642)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1A2E #1E2E1A
analogous
#201A2E #2A1A2E #2E1A28
triadic
#2A1A2E #2E2A1A #1A2E2A
tetradic
#2A1A2E #2E201A #1E2E1A #1A282E
square
#2A1A2E #2E201A #1E2E1A #1A282E
split-complementary
#2A1A2E #282E1A #1A2E20
monochromatic
#120B14 #120B14 #2A1A2E #4E3055 #71467C

Accessibility & contrast

On white

16.33
#2A1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2A1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1A2E
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1A2E#FFFFFF#000000##FFFFFF
##2A1A2E1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#2A1C21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a1a2e;
/* rgb */ color: rgb(42, 26, 46);
/* oklch */ color: oklch(24.8% 0.043 319.4);
Tailwind
colors: {
  custom: {
    50: '#645666',
    500: '#2a1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a1a2e;
$custom-light: #645666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1a2e",
  "rgb": {
    "r": 42,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 288,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24759,
    "c": 0.04317,
    "h": 319.4
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#2A1A2E
secondary
#486242
accent
#C46477
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #2A1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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