#2C1A2A#2C1A2A

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

Color values

HEX#2C1A2A
RGBrgb(44, 26, 42)
HSLhsl(307, 26%, 14%)
HSVhsv(307, 41%, 17%)
CMYKcmyk(0%, 40.9%, 4.5%, 82.7%)
CIE-LABlab(12.23, 12.23, -7.18)
CIE-LCHlch(12.23, 14.18, 329.56°)
OKLaboklab(24.82% 0.0345 -0.0194)
OKLCHoklch(24.82% 0.04 330.6)
XYZxyz(1.8260, 1.4415, 2.3721)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1A2A #1A2C1C
analogous
#251A2C #2C1A2A #2C1A21
triadic
#2C1A2A #2A2C1A #1A2A2C
tetradic
#2C1A2A #2C251A #1A2C1C #1A212C
square
#2C1A2A #2C251A #1A2C1C #1A212C
split-complementary
#2C1A2A #212C1A #1A2C25
monochromatic
#130B12 #130B12 #2C1A2A #52314F #794773

Accessibility & contrast

On white

16.30
#2C1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1A2A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1A2A#FFFFFF#000000##FFFFFF
##2C1A2A1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#1E2129
Tritanopia (blue-blind)
#2D1B20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1a2a;
/* rgb */ color: rgb(44, 26, 42);
/* oklch */ color: oklch(24.8% 0.040 330.6);
Tailwind
colors: {
  custom: {
    50: '#655663',
    500: '#2c1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c1a2a;
$custom-light: #655663;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1a2a",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 306.667,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24823,
    "c": 0.03954,
    "h": 330.6
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#2C1A2A
secondary
#425F46
accent
#C27066
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050305
muted
#7A7879

Preview Lab

Preview with #2C1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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