#2C1E2A#2C1E2A

#2C1E2A is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.7% C 0.030 H 331.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#2C1E2A
RGBrgb(44, 30, 42)
HSLhsl(309, 19%, 15%)
HSVhsv(309, 32%, 17%)
CMYKcmyk(0%, 31.8%, 4.5%, 82.7%)
CIE-LABlab(13.42, 9.39, -5.38)
CIE-LCHlch(13.42, 10.82, 330.17°)
OKLaboklab(25.73% 0.0265 -0.0144)
OKLCHoklch(25.73% 0.03 331.4)
XYZxyz(1.9209, 1.6313, 2.4037)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E2A #1E2C20
analogous
#271E2C #2C1E2A #2C1E23
triadic
#2C1E2A #2A2C1E #1E2A2C
tetradic
#2C1E2A #2C271E #1E2C20 #1E232C
square
#2C1E2A #2C271E #1E2C20 #1E232C
split-complementary
#2C1E2A #232C1E #1E2C27
monochromatic
#120C11 #120C11 #2C1E2A #50374D #75506F

Accessibility & contrast

On white

15.83
#2C1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C1E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E2A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E2A#FFFFFF#000000##FFFFFF
##2C1E2A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E212A
Deuteranopia (green-blind)
#21232A
Tritanopia (blue-blind)
#2D1F22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1e2a;
/* rgb */ color: rgb(44, 30, 42);
/* oklch */ color: oklch(25.7% 0.030 331.4);
Tailwind
colors: {
  custom: {
    50: '#655963',
    500: '#2c1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e2a;
$custom-light: #655963;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e2a",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 308.571,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.03013,
    "h": 331.4
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#2C1E2A
secondary
#485E4B
accent
#BC786C
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050305
muted
#7A7879

Preview Lab

Preview with #2C1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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