#2C182A#2C182A

#2C182A is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.4% C 0.044 H 330.4°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#2C182A
RGBrgb(44, 24, 42)
HSLhsl(306, 29%, 13%)
HSVhsv(306, 45%, 17%)
CMYKcmyk(0%, 45.5%, 4.5%, 82.7%)
CIE-LABlab(11.66, 13.63, -8.05)
CIE-LCHlch(11.66, 15.83, 329.42°)
OKLaboklab(24.39% 0.0384 -0.0218)
OKLCHoklch(24.39% 0.044 330.4)
XYZxyz(1.7832, 1.3560, 2.3578)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C182A #182C1A
analogous
#24182C #2C182A #2C1820
triadic
#2C182A #2A2C18 #182A2C
tetradic
#2C182A #2C2418 #182C1A #18202C
square
#2C182A #2C2418 #182C1A #18202C
split-complementary
#2C182A #202C18 #182C24
monochromatic
#140B13 #140B13 #2C182A #542E50 #7B4376

Accessibility & contrast

On white

16.52
#2C182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C182A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C182A#FFFFFF#000000##FFFFFF
##2C182A1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2B
Deuteranopia (green-blind)
#1C2029
Tritanopia (blue-blind)
#2E191F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c182a;
/* rgb */ color: rgb(44, 24, 42);
/* oklch */ color: oklch(24.4% 0.044 330.4);
Tailwind
colors: {
  custom: {
    50: '#655563',
    500: '#2c182a',
    950: '#000000',
  },
}
SCSS
$custom: #2c182a;
$custom-light: #655563;
$custom-dark: #000000;
JSON
{
  "hex": "#2c182a",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 306,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24392,
    "c": 0.04417,
    "h": 330.4
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#2C182A
secondary
#3F6043
accent
#C66C62
background
#F6F4F5
surface
#EBE8EA
border
#C6C4C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #2C182A

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

Preview Lab → · Contrast checker → · Palette generator →

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