#2D152C#2D152C

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

Color values

HEX#2D152C
RGBrgb(45, 21, 44)
HSLhsl(303, 36%, 13%)
HSVhsv(303, 53%, 18%)
CMYKcmyk(0%, 53.3%, 2.2%, 82.4%)
CIE-LABlab(11.11, 16.55, -10.36)
CIE-LCHlch(11.11, 19.53, 327.95°)
OKLaboklab(24.04% 0.0463 -0.0283)
OKLCHoklch(24.04% 0.054 328.6)
XYZxyz(1.8049, 1.2762, 2.5336)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D152C #152D16
analogous
#22152D #2D152C #2D1520
triadic
#2D152C #2C2D15 #152C2D
tetradic
#2D152C #2D2215 #152D16 #15202D
square
#2D152C #2D2215 #152D16 #15202D
split-complementary
#2D152C #202D15 #152D22
monochromatic
#150A14 #150A14 #2D152C #572855 #803C7E

Accessibility & contrast

On white

16.73
#2D152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D152C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D152C#FFFFFF#000000##FFFFFF
##2D152C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2D
Deuteranopia (green-blind)
#1A1F2B
Tritanopia (blue-blind)
#2E171E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d152c;
/* rgb */ color: rgb(45, 21, 44);
/* oklch */ color: oklch(24.0% 0.054 328.6);
Tailwind
colors: {
  custom: {
    50: '#675365',
    500: '#2d152c',
    950: '#000000',
  },
}
SCSS
$custom: #2d152c;
$custom-light: #675365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d152c",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 302.5,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24043,
    "c": 0.05426,
    "h": 328.6
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#2D152C
secondary
#3B633C
accent
#CC605B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D152C

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

Preview Lab → · Contrast checker → · Palette generator →

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