#2C1A2C#2C1A2C

#2C1A2C is a very dark, muted purple. Relative luminance 0.015; OKLCH L 24.9% C 0.042 H 326.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2C1A2C
RGBrgb(44, 26, 44)
HSLhsl(300, 26%, 14%)
HSVhsv(300, 41%, 17%)
CMYKcmyk(0%, 40.9%, 0%, 82.7%)
CIE-LABlab(12.33, 12.71, -8.50)
CIE-LCHlch(12.33, 15.28, 326.23°)
OKLaboklab(24.93% 0.0352 -0.0231)
OKLCHoklch(24.93% 0.042 326.7)
XYZxyz(1.8627, 1.4562, 2.5653)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1A2C #1A2C1A
analogous
#231A2C #2C1A2C #2C1A23
triadic
#2C1A2C #2C2C1A #1A2C2C
tetradic
#2C1A2C #2C231A #1A2C1A #1A232C
square
#2C1A2C #2C231A #1A2C1A #1A232C
split-complementary
#2C1A2C #232C1A #1A2C23
monochromatic
#130B13 #130B13 #2C1A2C #523152 #794779

Accessibility & contrast

On white

16.26
#2C1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1A2C
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1A2C#FFFFFF#000000##FFFFFF
##2C1A2C1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2D
Deuteranopia (green-blind)
#1D212B
Tritanopia (blue-blind)
#2D1C21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1a2c;
/* rgb */ color: rgb(44, 26, 44);
/* oklch */ color: oklch(24.9% 0.042 326.7);
Tailwind
colors: {
  custom: {
    50: '#655665',
    500: '#2c1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c1a2c;
$custom-light: #655665;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1a2c",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24926,
    "c": 0.04206,
    "h": 326.7
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#2C1A2C
secondary
#425F42
accent
#C26666
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050305
muted
#7A787A

Preview Lab

Preview with #2C1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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