#2C162B#2C162B

#2C162B is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.0% C 0.050 H 328.6°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2C162B
RGBrgb(44, 22, 43)
HSLhsl(303, 33%, 13%)
HSVhsv(303, 50%, 17%)
CMYKcmyk(0%, 50%, 2.3%, 82.7%)
CIE-LABlab(11.16, 15.24, -9.56)
CIE-LCHlch(11.16, 17.99, 327.92°)
OKLaboklab(24.03% 0.0426 -0.026)
OKLCHoklch(24.03% 0.05 328.6)
XYZxyz(1.7616, 1.2838, 2.4400)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C162B #162C17
analogous
#22162C #2C162B #2C1620
triadic
#2C162B #2B2C16 #162B2C
tetradic
#2C162B #2C2216 #162C17 #16202C
square
#2C162B #2C2216 #162C17 #16202C
split-complementary
#2C162B #202C16 #162C22
monochromatic
#140A14 #140A14 #2C162B #552A53 #7E3F7B

Accessibility & contrast

On white

16.71
#2C162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C162B
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C162B#FFFFFF#000000##FFFFFF
##2C162B1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#2D181E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c162b;
/* rgb */ color: rgb(44, 22, 43);
/* oklch */ color: oklch(24.0% 0.050 328.6);
Tailwind
colors: {
  custom: {
    50: '#665464',
    500: '#2c162b',
    950: '#000000',
  },
}
SCSS
$custom: #2c162b;
$custom-light: #665464;
$custom-dark: #000000;
JSON
{
  "hex": "#2c162b",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 302.727,
    "s": 33.333,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24032,
    "c": 0.04995,
    "h": 328.6
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#2C162B
secondary
#3C613E
accent
#C9635E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C162B

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

Preview Lab → · Contrast checker → · Palette generator →

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