#2B112B#2B112B

#2B112B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.060 H 327.3°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2B112B
RGBrgb(43, 17, 43)
HSLhsl(300, 43%, 12%)
HSVhsv(300, 60%, 17%)
CMYKcmyk(0%, 60.5%, 0%, 83.1%)
CIE-LABlab(9.71, 18.18, -11.82)
CIE-LCHlch(9.71, 21.69, 326.98°)
OKLaboklab(22.92% 0.0505 -0.0324)
OKLCHoklch(22.92% 0.06 327.3)
XYZxyz(1.6327, 1.0890, 2.4092)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B112B #112B11
analogous
#1E112B #2B112B #2B111E
triadic
#2B112B #2B2B11 #112B2B
tetradic
#2B112B #2B1E11 #112B11 #111E2B
square
#2B112B #2B1E11 #112B11 #111E2B
split-complementary
#2B112B #1E2B11 #112B1E
monochromatic
#160916 #160916 #2B112B #572257 #833483

Accessibility & contrast

On white

17.24
#2B112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B112B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B112B#FFFFFF#000000##FFFFFF
##2B112B1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#2C141C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b112b;
/* rgb */ color: rgb(43, 17, 43);
/* oklch */ color: oklch(22.9% 0.060 327.3);
Tailwind
colors: {
  custom: {
    50: '#655064',
    500: '#2b112b',
    950: '#000000',
  },
}
SCSS
$custom: #2b112b;
$custom-light: #655064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b112b",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22917,
    "c": 0.06003,
    "h": 327.3
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2B112B
secondary
#356335
accent
#D35555
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2B112B

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

Preview Lab → · Contrast checker → · Palette generator →

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