#2C142D#2C142D

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

Color values

HEX#2C142D
RGBrgb(44, 20, 45)
HSLhsl(298, 38%, 13%)
HSVhsv(298, 56%, 18%)
CMYKcmyk(2.2%, 55.6%, 0%, 82.4%)
CIE-LABlab(10.74, 17.07, -11.67)
CIE-LCHlch(10.74, 20.68, 325.63°)
OKLaboklab(23.76% 0.047 -0.032)
OKLCHoklch(23.76% 0.057 325.7)
XYZxyz(1.7625, 1.2253, 2.6258)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C142D #152D14
analogous
#1F142D #2C142D #2D1421
triadic
#2C142D #2D2C14 #142D2C
tetradic
#2C142D #2D1F14 #152D14 #14212D
square
#2C142D #2D1F14 #152D14 #14212D
split-complementary
#2C142D #212D14 #142D1F
monochromatic
#150915 #150915 #2C142D #552757 #7F3A82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C142D#FFFFFF#000000##FFFFFF
##2C142D1.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)
#111B2E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#2D171E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c142d;
/* rgb */ color: rgb(44, 20, 45);
/* oklch */ color: oklch(23.8% 0.057 325.7);
Tailwind
colors: {
  custom: {
    50: '#665266',
    500: '#2c142d',
    950: '#000000',
  },
}
SCSS
$custom: #2c142d;
$custom-light: #665266;
$custom-dark: #000000;
JSON
{
  "hex": "#2c142d",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 297.6,
    "s": 38.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23755,
    "c": 0.05683,
    "h": 325.7
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#2C142D
secondary
#3B6439
accent
#CE595E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C142D

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

Preview Lab → · Contrast checker → · Palette generator →

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