#2D112F#2D112F

#2D112F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.066 H 324.9°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2D112F
RGBrgb(45, 17, 47)
HSLhsl(296, 47%, 13%)
HSVhsv(296, 64%, 18%)
CMYKcmyk(4.3%, 63.8%, 0%, 81.6%)
CIE-LABlab(10.29, 19.85, -13.84)
CIE-LCHlch(10.29, 24.20, 325.12°)
OKLaboklab(23.49% 0.0542 -0.0382)
OKLCHoklch(23.49% 0.066 324.9)
XYZxyz(1.7957, 1.1641, 2.8189)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D112F #132F11
analogous
#1E112F #2D112F #2F1122
triadic
#2D112F #2F2D11 #112F2D
tetradic
#2D112F #2F1E11 #132F11 #11222F
square
#2D112F #2F1E11 #132F11 #11222F
split-complementary
#2D112F #222F11 #112F1E
monochromatic
#160816 #160816 #2D112F #58215C #833289

Accessibility & contrast

On white

17.03
#2D112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D112F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D112F#FFFFFF#000000##FFFFFF
##2D112F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#2E151E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d112f;
/* rgb */ color: rgb(45, 17, 47);
/* oklch */ color: oklch(23.5% 0.066 324.9);
Tailwind
colors: {
  custom: {
    50: '#675067',
    500: '#2d112f',
    950: '#000000',
  },
}
SCSS
$custom: #2d112f;
$custom-light: #675067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d112f",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 296,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23493,
    "c": 0.06631,
    "h": 324.9
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#2D112F
secondary
#386734
accent
#D7515A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D112F

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

Preview Lab → · Contrast checker → · Palette generator →

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