#2C112C#2C112C

#2C112C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.062 H 327.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2C112C
RGBrgb(44, 17, 44)
HSLhsl(300, 44%, 12%)
HSVhsv(300, 61%, 17%)
CMYKcmyk(0%, 61.4%, 0%, 82.7%)
CIE-LABlab(9.94, 18.79, -12.19)
CIE-LCHlch(9.94, 22.39, 327.02°)
OKLaboklab(23.14% 0.0522 -0.0334)
OKLCHoklch(23.14% 0.062 327.4)
XYZxyz(1.6937, 1.1183, 2.5090)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C112C #112C11
analogous
#1F112C #2C112C #2C111F
triadic
#2C112C #2C2C11 #112C2C
tetradic
#2C112C #2C1F11 #112C11 #111F2C
square
#2C112C #2C1F11 #112C11 #111F2C
split-complementary
#2C112C #1F2C11 #112C1F
monochromatic
#160916 #160916 #2C112C #582258 #843384

Accessibility & contrast

On white

17.16
#2C112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C112C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C112C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C112C#FFFFFF#000000##FFFFFF
##2C112C1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#2D141C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c112c;
/* rgb */ color: rgb(44, 17, 44);
/* oklch */ color: oklch(23.1% 0.062 327.4);
Tailwind
colors: {
  custom: {
    50: '#665065',
    500: '#2c112c',
    950: '#000000',
  },
}
SCSS
$custom: #2c112c;
$custom-light: #665065;
$custom-dark: #000000;
JSON
{
  "hex": "#2c112c",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 44.262,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23141,
    "c": 0.06201,
    "h": 327.4
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#2C112C
secondary
#356435
accent
#D45454
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C112C

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

Preview Lab → · Contrast checker → · Palette generator →

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