#2D152A#2D152A

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

Color values

HEX#2D152A
RGBrgb(45, 21, 42)
HSLhsl(308, 36%, 13%)
HSVhsv(308, 53%, 18%)
CMYKcmyk(0%, 53.3%, 6.7%, 82.4%)
CIE-LABlab(11.00, 16.09, -9.05)
CIE-LCHlch(11.00, 18.46, 330.65°)
OKLaboklab(23.93% 0.0458 -0.0245)
OKLCHoklch(23.93% 0.052 331.8)
XYZxyz(1.7683, 1.2615, 2.3404)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D152A #152D18
analogous
#24152D #2D152A #2D151E
triadic
#2D152A #2A2D15 #152A2D
tetradic
#2D152A #2D2415 #152D18 #151E2D
square
#2D152A #2D2415 #152D18 #151E2D
split-complementary
#2D152A #1E2D15 #152D24
monochromatic
#150A13 #150A13 #2D152A #572851 #803C78

Accessibility & contrast

On white

16.77
#2D152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D152A
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D152A#FFFFFF#000000##FFFFFF
##2D152A1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2B
Deuteranopia (green-blind)
#1B1F29
Tritanopia (blue-blind)
#2F171D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d152a;
/* rgb */ color: rgb(45, 21, 42);
/* oklch */ color: oklch(23.9% 0.052 331.8);
Tailwind
colors: {
  custom: {
    50: '#665363',
    500: '#2d152a',
    950: '#000000',
  },
}
SCSS
$custom: #2d152a;
$custom-light: #665363;
$custom-dark: #000000;
JSON
{
  "hex": "#2d152a",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 307.5,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23931,
    "c": 0.05192,
    "h": 331.8
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#2D152A
secondary
#3B6340
accent
#CC6A5B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D152A

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

Preview Lab → · Contrast checker → · Palette generator →

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