#2D142F#2D142F

#2D142F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.0% C 0.060 H 324.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2D142F
RGBrgb(45, 20, 47)
HSLhsl(296, 40%, 13%)
HSVhsv(296, 57%, 18%)
CMYKcmyk(4.3%, 57.4%, 0%, 81.6%)
CIE-LABlab(11.02, 17.93, -12.70)
CIE-LCHlch(11.02, 21.97, 324.69°)
OKLaboklab(24.03% 0.0489 -0.0349)
OKLCHoklch(24.03% 0.06 324.5)
XYZxyz(1.8454, 1.2635, 2.8355)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D142F #162F14
analogous
#1F142F #2D142F #2F1423
triadic
#2D142F #2F2D14 #142F2D
tetradic
#2D142F #2F1F14 #162F14 #14232F
square
#2D142F #2F1F14 #162F14 #14232F
split-complementary
#2D142F #232F14 #142F1F
monochromatic
#150915 #150915 #2D142F #56265A #7F3985

Accessibility & contrast

On white

16.77
#2D142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D142F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D142F#FFFFFF#000000##FFFFFF
##2D142F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C30
Deuteranopia (green-blind)
#181F2E
Tritanopia (blue-blind)
#2E171F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d142f;
/* rgb */ color: rgb(45, 20, 47);
/* oklch */ color: oklch(24.0% 0.060 324.5);
Tailwind
colors: {
  custom: {
    50: '#675267',
    500: '#2d142f',
    950: '#000000',
  },
}
SCSS
$custom: #2d142f;
$custom-light: #675267;
$custom-dark: #000000;
JSON
{
  "hex": "#2d142f",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 295.556,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24031,
    "c": 0.06009,
    "h": 324.5
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#2D142F
secondary
#3C6639
accent
#D05861
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D142F

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

Preview Lab → · Contrast checker → · Palette generator →

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