#2B1337#2B1337

#2B1337 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.1% C 0.071 H 313.1°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2B1337
RGBrgb(43, 19, 55)
HSLhsl(280, 49%, 15%)
HSVhsv(280, 65%, 22%)
CMYKcmyk(21.8%, 65.5%, 0%, 78.4%)
CIE-LABlab(10.96, 19.94, -18.62)
CIE-LCHlch(10.96, 27.28, 316.96°)
OKLaboklab(24.08% 0.0487 -0.0521)
OKLCHoklch(24.08% 0.071 313.1)
XYZxyz(1.9186, 1.2552, 3.7549)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1337 #1F3713
analogous
#191337 #2B1337 #371331
triadic
#2B1337 #372B13 #13372B
tetradic
#2B1337 #371913 #1F3713 #133137
square
#2B1337 #371913 #1F3713 #133137
split-complementary
#2B1337 #313713 #133719
monochromatic
#120817 #120817 #2B1337 #4F2364 #723292

Accessibility & contrast

On white

16.79
#2B1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1337
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1337#FFFFFF#000000##FFFFFF
##2B13371.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#111E36
Tritanopia (blue-blind)
#2A1922
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b1337;
/* rgb */ color: rgb(43, 19, 55);
/* oklch */ color: oklch(24.1% 0.071 313.1);
Tailwind
colors: {
  custom: {
    50: '#66526e',
    500: '#2b1337',
    950: '#000000',
  },
}
SCSS
$custom: #2b1337;
$custom-light: #66526e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1337",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 280,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24083,
    "c": 0.07133,
    "h": 313.1
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#2B1337
secondary
#496F37
accent
#D8507D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1337

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

Preview Lab → · Contrast checker → · Palette generator →

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