#2C1C2E#2C1C2E

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

Color values

HEX#2C1C2E
RGBrgb(44, 28, 46)
HSLhsl(293, 24%, 15%)
HSVhsv(293, 39%, 18%)
CMYKcmyk(4.3%, 39.1%, 0%, 82%)
CIE-LABlab(13.00, 11.79, -8.91)
CIE-LCHlch(13.00, 14.77, 322.92°)
OKLaboklab(25.47% 0.0319 -0.0242)
OKLCHoklch(25.47% 0.04 322.8)
XYZxyz(1.9470, 1.5633, 2.7834)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C2E #1E2E1C
analogous
#231C2E #2C1C2E #2E1C27
triadic
#2C1C2E #2E2C1C #1C2E2C
tetradic
#2C1C2E #2E231C #1E2E1C #1C272E
square
#2C1C2E #2E231C #1E2E1C #1C272E
split-complementary
#2C1C2E #272E1C #1C2E23
monochromatic
#120C13 #120C13 #2C1C2E #503354 #754A7A

Accessibility & contrast

On white

16.00
#2C1C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C1C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C2E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C2E#FFFFFF#000000##FFFFFF
##2C1C2E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#2D1E23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1c2e;
/* rgb */ color: rgb(44, 28, 46);
/* oklch */ color: oklch(25.5% 0.040 322.8);
Tailwind
colors: {
  custom: {
    50: '#655866',
    500: '#2c1c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c2e;
$custom-light: #655866;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c2e",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 293.333,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25473,
    "c": 0.04009,
    "h": 322.8
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#2C1C2E
secondary
#486145
accent
#C16771
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2C1C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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