#2A1E2A#2A1E2A

#2A1E2A is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.5% C 0.028 H 326.4°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#2A1E2A
RGBrgb(42, 30, 42)
HSLhsl(300, 17%, 14%)
HSVhsv(300, 29%, 16%)
CMYKcmyk(0%, 28.6%, 0%, 83.5%)
CIE-LABlab(13.16, 8.51, -5.80)
CIE-LCHlch(13.16, 10.30, 325.69°)
OKLaboklab(25.47% 0.0235 -0.0156)
OKLCHoklch(25.47% 0.028 326.4)
XYZxyz(1.8370, 1.5880, 2.3998)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E2A #1E2A1E
analogous
#241E2A #2A1E2A #2A1E24
triadic
#2A1E2A #2A2A1E #1E2A2A
tetradic
#2A1E2A #2A241E #1E2A1E #1E242A
square
#2A1E2A #2A241E #1E2A1E #1E242A
split-complementary
#2A1E2A #242A1E #1E2A24
monochromatic
#120D12 #120D12 #2A1E2A #4E384E #715171

Accessibility & contrast

On white

15.94
#2A1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2A1E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E2A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E2A#FFFFFF#000000##FFFFFF
##2A1E2A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212A
Deuteranopia (green-blind)
#20222A
Tritanopia (blue-blind)
#2B1F22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1e2a;
/* rgb */ color: rgb(42, 30, 42);
/* oklch */ color: oklch(25.5% 0.028 326.4);
Tailwind
colors: {
  custom: {
    50: '#635963',
    500: '#2a1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e2a;
$custom-light: #635963;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e2a",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25467,
    "c": 0.0282,
    "h": 326.4
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#2A1E2A
secondary
#485B48
accent
#B96E6E
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #2A1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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