#2B142E#2B142E

#2B142E is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.7% C 0.057 H 322.8°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#2B142E
RGBrgb(43, 20, 46)
HSLhsl(293, 39%, 13%)
HSVhsv(293, 57%, 18%)
CMYKcmyk(6.5%, 56.5%, 0%, 82%)
CIE-LABlab(10.64, 16.94, -12.58)
CIE-LCHlch(10.64, 21.10, 323.40°)
OKLaboklab(23.66% 0.0457 -0.0346)
OKLCHoklch(23.66% 0.057 322.8)
XYZxyz(1.7395, 1.2112, 2.7264)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B142E #172E14
analogous
#1E142E #2B142E #2E1424
triadic
#2B142E #2E2B14 #142E2B
tetradic
#2B142E #2E1E14 #172E14 #14242E
square
#2B142E #2E1E14 #172E14 #14242E
split-complementary
#2B142E #242E14 #142E1E
monochromatic
#140915 #140915 #2B142E #532759 #7B3983

Accessibility & contrast

On white

16.91
#2B142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B142E
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B142E#FFFFFF#000000##FFFFFF
##2B142E1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#2C171E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b142e;
/* rgb */ color: rgb(43, 20, 46);
/* oklch */ color: oklch(23.7% 0.057 322.8);
Tailwind
colors: {
  custom: {
    50: '#655266',
    500: '#2b142e',
    950: '#000000',
  },
}
SCSS
$custom: #2b142e;
$custom-light: #655266;
$custom-dark: #000000;
JSON
{
  "hex": "#2b142e",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 293.077,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23662,
    "c": 0.05733,
    "h": 322.8
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#2B142E
secondary
#3E6539
accent
#CF5966
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2B142E

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

Preview Lab → · Contrast checker → · Palette generator →

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