#2B112E#2B112E

#2B112E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.064 H 323.4°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2B112E
RGBrgb(43, 17, 46)
HSLhsl(294, 46%, 12%)
HSVhsv(294, 63%, 18%)
CMYKcmyk(6.5%, 63%, 0%, 82%)
CIE-LABlab(9.89, 18.90, -13.75)
CIE-LCHlch(9.89, 23.38, 323.96°)
OKLaboklab(23.11% 0.0511 -0.038)
OKLCHoklch(23.11% 0.064 323.4)
XYZxyz(1.6898, 1.1118, 2.7098)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B112E #142E11
analogous
#1D112E #2B112E #2E1123
triadic
#2B112E #2E2B11 #112E2B
tetradic
#2B112E #2E1D11 #142E11 #11232E
square
#2B112E #2E1D11 #142E11 #11232E
split-complementary
#2B112E #232E11 #112E1D
monochromatic
#150816 #150816 #2B112E #55225B #7F3287

Accessibility & contrast

On white

17.18
#2B112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B112E
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B112E#FFFFFF#000000##FFFFFF
##2B112E1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#2C151D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b112e;
/* rgb */ color: rgb(43, 17, 46);
/* oklch */ color: oklch(23.1% 0.064 323.4);
Tailwind
colors: {
  custom: {
    50: '#655067',
    500: '#2b112e',
    950: '#000000',
  },
}
SCSS
$custom: #2b112e;
$custom-light: #655067;
$custom-dark: #000000;
JSON
{
  "hex": "#2b112e",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 293.793,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23107,
    "c": 0.06366,
    "h": 323.4
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2B112E
secondary
#3A6634
accent
#D65260
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B112E

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

Preview Lab → · Contrast checker → · Palette generator →

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