#2D142E#2D142E

#2D142E is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.0% C 0.059 H 325.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2D142E
RGBrgb(45, 20, 46)
HSLhsl(298, 39%, 13%)
HSVhsv(298, 57%, 18%)
CMYKcmyk(2.2%, 56.5%, 0%, 82%)
CIE-LABlab(10.96, 17.69, -12.06)
CIE-LCHlch(10.96, 21.41, 325.72°)
OKLaboklab(23.97% 0.0487 -0.0331)
OKLCHoklch(23.97% 0.059 325.8)
XYZxyz(1.8254, 1.2555, 2.7304)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D142E #152E14
analogous
#20142E #2D142E #2E1422
triadic
#2D142E #2E2D14 #142E2D
tetradic
#2D142E #2E2014 #152E14 #14222E
square
#2D142E #2E2014 #152E14 #14222E
split-complementary
#2D142E #222E14 #142E20
monochromatic
#150915 #150915 #2D142E #572759 #803983

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D142E#FFFFFF#000000##FFFFFF
##2D142E1.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)
#111B2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#2E171E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d142e;
/* rgb */ color: rgb(45, 20, 46);
/* oklch */ color: oklch(24.0% 0.059 325.8);
Tailwind
colors: {
  custom: {
    50: '#675266',
    500: '#2d142e',
    950: '#000000',
  },
}
SCSS
$custom: #2d142e;
$custom-light: #675266;
$custom-dark: #000000;
JSON
{
  "hex": "#2d142e",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 297.692,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2397,
    "c": 0.05886,
    "h": 325.8
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#2D142E
secondary
#3B6539
accent
#CF595D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D142E

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

Preview Lab → · Contrast checker → · Palette generator →

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