#2B152E#2B152E

#2B152E is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.9% C 0.055 H 322.6°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#2B152E
RGBrgb(43, 21, 46)
HSLhsl(293, 37%, 13%)
HSVhsv(293, 54%, 18%)
CMYKcmyk(6.5%, 54.3%, 0%, 82%)
CIE-LABlab(10.90, 16.26, -12.17)
CIE-LCHlch(10.90, 20.31, 323.18°)
OKLaboklab(23.86% 0.0438 -0.0335)
OKLCHoklch(23.86% 0.055 322.6)
XYZxyz(1.7575, 1.2473, 2.7324)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B152E #182E15
analogous
#1E152E #2B152E #2E1524
triadic
#2B152E #2E2B15 #152E2B
tetradic
#2B152E #2E1E15 #182E15 #15242E
square
#2B152E #2E1E15 #182E15 #15242E
split-complementary
#2B152E #242E15 #152E1E
monochromatic
#140A15 #140A15 #2B152E #522858 #7A3B82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B152E#FFFFFF#000000##FFFFFF
##2B152E1.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)
#121C2F
Deuteranopia (green-blind)
#181E2D
Tritanopia (blue-blind)
#2C181F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b152e;
/* rgb */ color: rgb(43, 21, 46);
/* oklch */ color: oklch(23.9% 0.055 322.6);
Tailwind
colors: {
  custom: {
    50: '#655366',
    500: '#2b152e',
    950: '#000000',
  },
}
SCSS
$custom: #2b152e;
$custom-light: #655366;
$custom-dark: #000000;
JSON
{
  "hex": "#2b152e",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 292.8,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23857,
    "c": 0.05515,
    "h": 322.6
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#2B152E
secondary
#40643B
accent
#CD5B68
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2B152E

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

Preview Lab → · Contrast checker → · Palette generator →

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