#2D132B#2D132B

#2D132B is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.6% C 0.057 H 330.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#2D132B
RGBrgb(45, 19, 43)
HSLhsl(305, 41%, 13%)
HSVhsv(305, 58%, 18%)
CMYKcmyk(0%, 57.8%, 4.4%, 82.4%)
CIE-LABlab(10.54, 17.64, -10.50)
CIE-LCHlch(10.54, 20.53, 329.25°)
OKLaboklab(23.61% 0.0498 -0.0286)
OKLCHoklch(23.61% 0.057 330.1)
XYZxyz(1.7511, 1.1982, 2.4241)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D132B #132D15
analogous
#22132D #2D132B #2D131E
triadic
#2D132B #2B2D13 #132B2D
tetradic
#2D132B #2D2213 #132D15 #131E2D
square
#2D132B #2D2213 #132D15 #131E2D
split-complementary
#2D132B #1E2D13 #132D22
monochromatic
#160915 #160915 #2D132B #582554 #83377D

Accessibility & contrast

On white

16.94
#2D132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D132B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D132B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D132B#FFFFFF#000000##FFFFFF
##2D132B1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#2F151D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d132b;
/* rgb */ color: rgb(45, 19, 43);
/* oklch */ color: oklch(23.6% 0.057 330.1);
Tailwind
colors: {
  custom: {
    50: '#675264',
    500: '#2d132b',
    950: '#000000',
  },
}
SCSS
$custom: #2d132b;
$custom-light: #675264;
$custom-dark: #000000;
JSON
{
  "hex": "#2d132b",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 304.615,
    "s": 40.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23605,
    "c": 0.05744,
    "h": 330.1
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#2D132B
secondary
#38643B
accent
#D06157
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D132B

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

Preview Lab → · Contrast checker → · Palette generator →

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