#2B162F#2B162F

#2B162F is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.1% C 0.054 H 321.0°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2B162F
RGBrgb(43, 22, 47)
HSLhsl(290, 36%, 14%)
HSVhsv(290, 53%, 18%)
CMYKcmyk(8.5%, 53.2%, 0%, 81.6%)
CIE-LABlab(11.22, 15.83, -12.40)
CIE-LCHlch(11.22, 20.11, 321.94°)
OKLaboklab(24.12% 0.0422 -0.0341)
OKLCHoklch(24.12% 0.054 321)
XYZxyz(1.7962, 1.2927, 2.8437)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B162F #1A2F16
analogous
#1E162F #2B162F #2F1626
triadic
#2B162F #2F2B16 #162F2B
tetradic
#2B162F #2F1E16 #1A2F16 #16262F
square
#2B162F #2F1E16 #1A2F16 #16262F
split-complementary
#2B162F #262F16 #162F1E
monochromatic
#130A15 #130A15 #2B162F #512A59 #773D82

Accessibility & contrast

On white

16.69
#2B162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B162F
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B162F#FFFFFF#000000##FFFFFF
##2B162F1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C30
Deuteranopia (green-blind)
#181F2E
Tritanopia (blue-blind)
#2B1920
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b162f;
/* rgb */ color: rgb(43, 22, 47);
/* oklch */ color: oklch(24.1% 0.054 321.0);
Tailwind
colors: {
  custom: {
    50: '#655467',
    500: '#2b162f',
    950: '#000000',
  },
}
SCSS
$custom: #2b162f;
$custom-light: #655467;
$custom-dark: #000000;
JSON
{
  "hex": "#2b162f",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 290.4,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24117,
    "c": 0.05428,
    "h": 321
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#2B162F
secondary
#43653C
accent
#CC5C6E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2B162F

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

Preview Lab → · Contrast checker → · Palette generator →

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