#2D112E#2D112E

#2D112E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.4% C 0.065 H 326.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#2D112E
RGBrgb(45, 17, 46)
HSLhsl(298, 46%, 12%)
HSVhsv(298, 63%, 18%)
CMYKcmyk(2.2%, 63%, 0%, 82%)
CIE-LABlab(10.23, 19.61, -13.20)
CIE-LCHlch(10.23, 23.64, 326.06°)
OKLaboklab(23.43% 0.0541 -0.0363)
OKLCHoklch(23.43% 0.065 326.1)
XYZxyz(1.7757, 1.1561, 2.7139)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D112E #122E11
analogous
#1F112E #2D112E #2E1121
triadic
#2D112E #2E2D11 #112E2D
tetradic
#2D112E #2E1F11 #122E11 #11212E
square
#2D112E #2E1F11 #122E11 #11212E
split-complementary
#2D112E #212E11 #112E1F
monochromatic
#160816 #160816 #2D112E #59225B #843287

Accessibility & contrast

On white

17.06
#2D112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D112E
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D112E#FFFFFF#000000##FFFFFF
##2D112E1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#2E141D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d112e;
/* rgb */ color: rgb(45, 17, 46);
/* oklch */ color: oklch(23.4% 0.065 326.1);
Tailwind
colors: {
  custom: {
    50: '#675066',
    500: '#2d112e',
    950: '#000000',
  },
}
SCSS
$custom: #2d112e;
$custom-light: #675066;
$custom-dark: #000000;
JSON
{
  "hex": "#2d112e",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 297.931,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23429,
    "c": 0.06513,
    "h": 326.1
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#2D112E
secondary
#366634
accent
#D65257
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D112E

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

Preview Lab → · Contrast checker → · Palette generator →

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