#2C112D#2C112D

#2C112D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.063 H 326.0°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2C112D
RGBrgb(44, 17, 45)
HSLhsl(298, 45%, 12%)
HSVhsv(298, 62%, 18%)
CMYKcmyk(2.2%, 62.2%, 0%, 82.4%)
CIE-LABlab(10.00, 19.02, -12.83)
CIE-LCHlch(10.00, 22.95, 325.99°)
OKLaboklab(23.2% 0.0524 -0.0353)
OKLCHoklch(23.2% 0.063 326)
XYZxyz(1.7128, 1.1259, 2.6092)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C112D #122D11
analogous
#1E112D #2C112D #2D1120
triadic
#2C112D #2D2C11 #112D2C
tetradic
#2C112D #2D1E11 #122D11 #11202D
square
#2C112D #2D1E11 #122D11 #11202D
split-complementary
#2C112D #202D11 #112D1E
monochromatic
#160816 #160816 #2C112D #572259 #833386

Accessibility & contrast

On white

17.14
#2C112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C112D
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C112D#FFFFFF#000000##FFFFFF
##2C112D1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192E
Deuteranopia (green-blind)
#161D2C
Tritanopia (blue-blind)
#2D141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c112d;
/* rgb */ color: rgb(44, 17, 45);
/* oklch */ color: oklch(23.2% 0.063 326.0);
Tailwind
colors: {
  custom: {
    50: '#665066',
    500: '#2c112d',
    950: '#000000',
  },
}
SCSS
$custom: #2c112d;
$custom-light: #665066;
$custom-dark: #000000;
JSON
{
  "hex": "#2c112d",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 297.857,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23203,
    "c": 0.06319,
    "h": 326
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2C112D
secondary
#366535
accent
#D55358
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C112D

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

Preview Lab → · Contrast checker → · Palette generator →

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