#2B112A#2B112A

#2B112A is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.9% C 0.059 H 328.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2B112A
RGBrgb(43, 17, 42)
HSLhsl(302, 43%, 12%)
HSVhsv(302, 60%, 17%)
CMYKcmyk(0%, 60.5%, 2.3%, 83.1%)
CIE-LABlab(9.65, 17.95, -11.17)
CIE-LCHlch(9.65, 21.14, 328.12°)
OKLaboklab(22.86% 0.0503 -0.0305)
OKLCHoklch(22.86% 0.059 328.7)
XYZxyz(1.6146, 1.0817, 2.3138)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B112A #112B12
analogous
#1F112B #2B112A #2B111D
triadic
#2B112A #2A2B11 #112A2B
tetradic
#2B112A #2B1F11 #112B12 #111D2B
square
#2B112A #2B1F11 #112B12 #111D2B
split-complementary
#2B112A #1D2B11 #112B1F
monochromatic
#160915 #160915 #2B112A #572255 #833480

Accessibility & contrast

On white

17.26
#2B112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B112A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B112A#FFFFFF#000000##FFFFFF
##2B112A1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#2D131B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b112a;
/* rgb */ color: rgb(43, 17, 42);
/* oklch */ color: oklch(22.9% 0.059 328.7);
Tailwind
colors: {
  custom: {
    50: '#655063',
    500: '#2b112a',
    950: '#000000',
  },
}
SCSS
$custom: #2b112a;
$custom-light: #655063;
$custom-dark: #000000;
JSON
{
  "hex": "#2b112a",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 302.308,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22856,
    "c": 0.05885,
    "h": 328.7
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#2B112A
secondary
#356337
accent
#D35A55
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2B112A

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

Preview Lab → · Contrast checker → · Palette generator →

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