#2B1336#2B1336

#2B1336 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.070 H 314.0°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#2B1336
RGBrgb(43, 19, 54)
HSLhsl(281, 48%, 14%)
HSVhsv(281, 65%, 21%)
CMYKcmyk(20.4%, 64.8%, 0%, 78.8%)
CIE-LABlab(10.89, 19.67, -18.01)
CIE-LCHlch(10.89, 26.67, 317.53°)
OKLaboklab(24.01% 0.0486 -0.0503)
OKLCHoklch(24.01% 0.07 314)
XYZxyz(1.8949, 1.2457, 3.6299)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1336 #1E3613
analogous
#1A1336 #2B1336 #361330
triadic
#2B1336 #362B13 #13362B
tetradic
#2B1336 #361A13 #1E3613 #133036
square
#2B1336 #361A13 #1E3613 #133036
split-complementary
#2B1336 #303613 #13361A
monochromatic
#120817 #120817 #2B1336 #4F2363 #733391

Accessibility & contrast

On white

16.81
#2B1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1336
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1336#FFFFFF#000000##FFFFFF
##2B13361.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#2A1922
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b1336;
/* rgb */ color: rgb(43, 19, 54);
/* oklch */ color: oklch(24.0% 0.070 314.0);
Tailwind
colors: {
  custom: {
    50: '#65526d',
    500: '#2b1336',
    950: '#000000',
  },
}
SCSS
$custom: #2b1336;
$custom-light: #65526d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1336",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 281.143,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24011,
    "c": 0.06999,
    "h": 314
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#2B1336
secondary
#486E37
accent
#D8507B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1336

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

Preview Lab → · Contrast checker → · Palette generator →

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