#2C112E#2C112E

#2C112E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.064 H 324.7°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2C112E
RGBrgb(44, 17, 46)
HSLhsl(296, 46%, 12%)
HSVhsv(296, 63%, 18%)
CMYKcmyk(4.3%, 63%, 0%, 82%)
CIE-LABlab(10.06, 19.26, -13.48)
CIE-LCHlch(10.06, 23.51, 325.02°)
OKLaboklab(23.27% 0.0526 -0.0372)
OKLCHoklch(23.27% 0.064 324.7)
XYZxyz(1.7323, 1.1337, 2.7118)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C112E #132E11
analogous
#1E112E #2C112E #2E1122
triadic
#2C112E #2E2C11 #112E2C
tetradic
#2C112E #2E1E11 #132E11 #11222E
square
#2C112E #2E1E11 #132E11 #11222E
split-complementary
#2C112E #222E11 #112E1E
monochromatic
#150816 #150816 #2C112E #57225B #813287

Accessibility & contrast

On white

17.12
#2C112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C112E
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C112E#FFFFFF#000000##FFFFFF
##2C112E1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#2D151D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c112e;
/* rgb */ color: rgb(44, 17, 46);
/* oklch */ color: oklch(23.3% 0.064 324.7);
Tailwind
colors: {
  custom: {
    50: '#665066',
    500: '#2c112e',
    950: '#000000',
  },
}
SCSS
$custom: #2c112e;
$custom-light: #665066;
$custom-dark: #000000;
JSON
{
  "hex": "#2c112e",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 295.862,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23267,
    "c": 0.06438,
    "h": 324.7
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2C112E
secondary
#386634
accent
#D6525B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C112E

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

Preview Lab → · Contrast checker → · Palette generator →

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