#2B122E#2B122E

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

Color values

HEX#2B122E
RGBrgb(43, 18, 46)
HSLhsl(294, 44%, 13%)
HSVhsv(294, 61%, 18%)
CMYKcmyk(6.5%, 60.9%, 0%, 82%)
CIE-LABlab(10.13, 18.26, -13.37)
CIE-LCHlch(10.13, 22.63, 323.78°)
OKLaboklab(23.29% 0.0493 -0.0369)
OKLCHoklch(23.29% 0.062 323.2)
XYZxyz(1.7057, 1.1435, 2.7151)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B122E #152E12
analogous
#1D122E #2B122E #2E1223
triadic
#2B122E #2E2B12 #122E2B
tetradic
#2B122E #2E1D12 #152E12 #12232E
square
#2B122E #2E1D12 #152E12 #12232E
split-complementary
#2B122E #232E12 #122E1D
monochromatic
#150916 #150916 #2B122E #54235A #7D3486

Accessibility & contrast

On white

17.09
#2B122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B122E
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B122E#FFFFFF#000000##FFFFFF
##2B122E1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b122e;
/* rgb */ color: rgb(43, 18, 46);
/* oklch */ color: oklch(23.3% 0.062 323.2);
Tailwind
colors: {
  custom: {
    50: '#655166',
    500: '#2b122e',
    950: '#000000',
  },
}
SCSS
$custom: #2b122e;
$custom-light: #655166;
$custom-dark: #000000;
JSON
{
  "hex": "#2b122e",
  "rgb": {
    "r": 43,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 293.571,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.06158,
    "h": 323.2
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#2B122E
secondary
#3B6636
accent
#D35462
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B122E

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

Preview Lab → · Contrast checker → · Palette generator →

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