#2C142E#2C142E

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

Color values

HEX#2C142E
RGBrgb(44, 20, 46)
HSLhsl(295, 39%, 13%)
HSVhsv(295, 57%, 18%)
CMYKcmyk(4.3%, 56.5%, 0%, 82%)
CIE-LABlab(10.80, 17.31, -12.32)
CIE-LCHlch(10.80, 21.25, 324.57°)
OKLaboklab(23.82% 0.0472 -0.0339)
OKLCHoklch(23.82% 0.058 324.3)
XYZxyz(1.7820, 1.2331, 2.7284)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C142E #162E14
analogous
#1F142E #2C142E #2E1423
triadic
#2C142E #2E2C14 #142E2C
tetradic
#2C142E #2E1F14 #162E14 #14232E
square
#2C142E #2E1F14 #162E14 #14232E
split-complementary
#2C142E #232E14 #142E1F
monochromatic
#140915 #140915 #2C142E #552759 #7E3983

Accessibility & contrast

On white

16.85
#2C142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C142E
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C142E#FFFFFF#000000##FFFFFF
##2C142E1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2F
Deuteranopia (green-blind)
#181E2D
Tritanopia (blue-blind)
#2D171E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c142e;
/* rgb */ color: rgb(44, 20, 46);
/* oklch */ color: oklch(23.8% 0.058 324.3);
Tailwind
colors: {
  custom: {
    50: '#665266',
    500: '#2c142e',
    950: '#000000',
  },
}
SCSS
$custom: #2c142e;
$custom-light: #665266;
$custom-dark: #000000;
JSON
{
  "hex": "#2c142e",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 295.385,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23815,
    "c": 0.05808,
    "h": 324.3
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#2C142E
secondary
#3C6539
accent
#CF5962
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C142E

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

Preview Lab → · Contrast checker → · Palette generator →

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