#2D162C#2D162C

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

Color values

HEX#2D162C
RGBrgb(45, 22, 44)
HSLhsl(303, 34%, 13%)
HSVhsv(303, 51%, 18%)
CMYKcmyk(0%, 51.1%, 2.2%, 82.4%)
CIE-LABlab(11.37, 15.88, -9.96)
CIE-LCHlch(11.37, 18.74, 327.92°)
OKLaboklab(24.24% 0.0444 -0.0271)
OKLCHoklch(24.24% 0.052 328.6)
XYZxyz(1.8237, 1.3136, 2.5399)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D162C #162D17
analogous
#22162D #2D162C #2D1620
triadic
#2D162C #2C2D16 #162C2D
tetradic
#2D162C #2D2216 #162D17 #16202D
square
#2D162C #2D2216 #162D17 #16202D
split-complementary
#2D162C #202D16 #162D22
monochromatic
#150A14 #150A14 #2D162C #562A54 #7F3E7C

Accessibility & contrast

On white

16.63
#2D162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D162C
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D162C#FFFFFF#000000##FFFFFF
##2D162C1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2D
Deuteranopia (green-blind)
#1B1F2B
Tritanopia (blue-blind)
#2E181E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d162c;
/* rgb */ color: rgb(45, 22, 44);
/* oklch */ color: oklch(24.2% 0.052 328.6);
Tailwind
colors: {
  custom: {
    50: '#665465',
    500: '#2d162c',
    950: '#000000',
  },
}
SCSS
$custom: #2d162c;
$custom-light: #665465;
$custom-dark: #000000;
JSON
{
  "hex": "#2d162c",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 302.609,
    "s": 34.328,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2424,
    "c": 0.05204,
    "h": 328.6
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2D162C
secondary
#3C623E
accent
#CA625D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D162C

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

Preview Lab → · Contrast checker → · Palette generator →

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