#2C112F#2C112F

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

Color values

HEX#2C112F
RGBrgb(44, 17, 47)
HSLhsl(294, 47%, 13%)
HSVhsv(294, 64%, 18%)
CMYKcmyk(6.4%, 63.8%, 0%, 81.6%)
CIE-LABlab(10.12, 19.50, -14.12)
CIE-LCHlch(10.12, 24.07, 324.10°)
OKLaboklab(23.33% 0.0527 -0.039)
OKLCHoklch(23.33% 0.066 323.5)
XYZxyz(1.7522, 1.1417, 2.8168)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C112F #142F11
analogous
#1D112F #2C112F #2F1123
triadic
#2C112F #2F2C11 #112F2C
tetradic
#2C112F #2F1D11 #142F11 #11232F
square
#2C112F #2F1D11 #142F11 #11232F
split-complementary
#2C112F #232F11 #112F1D
monochromatic
#150816 #150816 #2C112F #56215C #803289

Accessibility & contrast

On white

17.10
#2C112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C112F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C112F#FFFFFF#000000##FFFFFF
##2C112F1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#2D151E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c112f;
/* rgb */ color: rgb(44, 17, 47);
/* oklch */ color: oklch(23.3% 0.066 323.5);
Tailwind
colors: {
  custom: {
    50: '#665067',
    500: '#2c112f',
    950: '#000000',
  },
}
SCSS
$custom: #2c112f;
$custom-light: #665067;
$custom-dark: #000000;
JSON
{
  "hex": "#2c112f",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 294,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23332,
    "c": 0.06559,
    "h": 323.5
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#2C112F
secondary
#396734
accent
#D7515F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C112F

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

Preview Lab → · Contrast checker → · Palette generator →

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