#2C142F#2C142F

#2C142F is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.9% C 0.059 H 323.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2C142F
RGBrgb(44, 20, 47)
HSLhsl(293, 40%, 13%)
HSVhsv(293, 57%, 18%)
CMYKcmyk(6.4%, 57.4%, 0%, 81.6%)
CIE-LABlab(10.86, 17.56, -12.96)
CIE-LCHlch(10.86, 21.82, 323.56°)
OKLaboklab(23.88% 0.0474 -0.0357)
OKLCHoklch(23.88% 0.059 323)
XYZxyz(1.8019, 1.2411, 2.8334)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C142F #172F14
analogous
#1E142F #2C142F #2F1424
triadic
#2C142F #2F2C14 #142F2C
tetradic
#2C142F #2F1E14 #172F14 #14242F
square
#2C142F #2F1E14 #172F14 #14242F
split-complementary
#2C142F #242F14 #142F1E
monochromatic
#140915 #140915 #2C142F #54265A #7C3985

Accessibility & contrast

On white

16.82
#2C142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C142F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C142F#FFFFFF#000000##FFFFFF
##2C142F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#2D171F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c142f;
/* rgb */ color: rgb(44, 20, 47);
/* oklch */ color: oklch(23.9% 0.059 323.0);
Tailwind
colors: {
  custom: {
    50: '#665267',
    500: '#2c142f',
    950: '#000000',
  },
}
SCSS
$custom: #2c142f;
$custom-light: #665267;
$custom-dark: #000000;
JSON
{
  "hex": "#2c142f",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 293.333,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23877,
    "c": 0.05934,
    "h": 323
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#2C142F
secondary
#3E6639
accent
#D05865
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C142F

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

Preview Lab → · Contrast checker → · Palette generator →

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