#2D142A#2D142A

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

Color values

HEX#2D142A
RGBrgb(45, 20, 42)
HSLhsl(307, 38%, 13%)
HSVhsv(307, 56%, 18%)
CMYKcmyk(0%, 55.6%, 6.7%, 82.4%)
CIE-LABlab(10.74, 16.76, -9.45)
CIE-LCHlch(10.74, 19.24, 330.58°)
OKLaboklab(23.74% 0.0477 -0.0257)
OKLCHoklch(23.74% 0.054 331.7)
XYZxyz(1.7502, 1.2255, 2.3344)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D142A #142D17
analogous
#23142D #2D142A #2D141D
triadic
#2D142A #2A2D14 #142A2D
tetradic
#2D142A #2D2314 #142D17 #141D2D
square
#2D142A #2D2314 #142D17 #141D2D
split-complementary
#2D142A #1D2D14 #142D23
monochromatic
#150914 #150914 #2D142A #572752 #823A79

Accessibility & contrast

On white

16.87
#2D142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D142A
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D142A#FFFFFF#000000##FFFFFF
##2D142A1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#2F161D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d142a;
/* rgb */ color: rgb(45, 20, 42);
/* oklch */ color: oklch(23.7% 0.054 331.7);
Tailwind
colors: {
  custom: {
    50: '#675263',
    500: '#2d142a',
    950: '#000000',
  },
}
SCSS
$custom: #2d142a;
$custom-light: #675263;
$custom-dark: #000000;
JSON
{
  "hex": "#2d142a",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 307.2,
    "s": 38.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23737,
    "c": 0.05413,
    "h": 331.7
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#2D142A
secondary
#39643E
accent
#CE6759
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D142A

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

Preview Lab → · Contrast checker → · Palette generator →

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