#2D112B#2D112B

#2D112B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.062 H 330.1°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2D112B
RGBrgb(45, 17, 43)
HSLhsl(304, 45%, 12%)
HSVhsv(304, 62%, 18%)
CMYKcmyk(0%, 62.2%, 4.4%, 82.4%)
CIE-LABlab(10.06, 18.93, -11.26)
CIE-LCHlch(10.06, 22.02, 329.26°)
OKLaboklab(23.24% 0.0535 -0.0308)
OKLCHoklch(23.24% 0.062 330.1)
XYZxyz(1.7187, 1.1333, 2.4133)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D112B #112D13
analogous
#21112D #2D112B #2D111D
triadic
#2D112B #2B2D11 #112B2D
tetradic
#2D112B #2D2111 #112D13 #111D2D
square
#2D112B #2D2111 #112D13 #111D2D
split-complementary
#2D112B #1D2D11 #112D21
monochromatic
#160815 #160815 #2D112B #592255 #863380

Accessibility & contrast

On white

17.12
#2D112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D112B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D112B#FFFFFF#000000##FFFFFF
##2D112B1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#181D2A
Tritanopia (blue-blind)
#2F131C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d112b;
/* rgb */ color: rgb(45, 17, 43);
/* oklch */ color: oklch(23.2% 0.062 330.1);
Tailwind
colors: {
  custom: {
    50: '#675064',
    500: '#2d112b',
    950: '#000000',
  },
}
SCSS
$custom: #2d112b;
$custom-light: #675064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d112b",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 304.286,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23244,
    "c": 0.06168,
    "h": 330.1
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#2D112B
secondary
#356538
accent
#D55C53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D112B

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

Preview Lab → · Contrast checker → · Palette generator →

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