#2C162E#2C162E

#2C162E is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.2% C 0.054 H 324.0°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2C162E
RGBrgb(44, 22, 46)
HSLhsl(295, 35%, 13%)
HSVhsv(295, 52%, 18%)
CMYKcmyk(4.3%, 52.2%, 0%, 82%)
CIE-LABlab(11.32, 15.97, -11.51)
CIE-LCHlch(11.32, 19.68, 324.23°)
OKLaboklab(24.2% 0.0435 -0.0315)
OKLCHoklch(24.2% 0.054 324)
XYZxyz(1.8187, 1.3066, 2.7406)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C162E #182E16
analogous
#20162E #2C162E #2E1624
triadic
#2C162E #2E2C16 #162E2C
tetradic
#2C162E #2E2016 #182E16 #16242E
square
#2C162E #2E2016 #182E16 #16242E
split-complementary
#2C162E #242E16 #162E20
monochromatic
#140A15 #140A15 #2C162E #542A57 #7B3E81

Accessibility & contrast

On white

16.65
#2C162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C162E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C162E#FFFFFF#000000##FFFFFF
##2C162E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#2D191F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c162e;
/* rgb */ color: rgb(44, 22, 46);
/* oklch */ color: oklch(24.2% 0.054 324.0);
Tailwind
colors: {
  custom: {
    50: '#665466',
    500: '#2c162e',
    950: '#000000',
  },
}
SCSS
$custom: #2c162e;
$custom-light: #665466;
$custom-dark: #000000;
JSON
{
  "hex": "#2c162e",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 295,
    "s": 35.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24204,
    "c": 0.05371,
    "h": 324
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#2C162E
secondary
#3F643C
accent
#CB5C66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C162E

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

Preview Lab → · Contrast checker → · Palette generator →

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