#2C122E#2C122E

#2C122E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.4% C 0.062 H 324.6°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2C122E
RGBrgb(44, 18, 46)
HSLhsl(296, 44%, 13%)
HSVhsv(296, 61%, 18%)
CMYKcmyk(4.3%, 60.9%, 0%, 82%)
CIE-LABlab(10.30, 18.62, -13.10)
CIE-LCHlch(10.30, 22.77, 324.87°)
OKLaboklab(23.45% 0.0508 -0.0361)
OKLCHoklch(23.45% 0.062 324.6)
XYZxyz(1.7481, 1.1654, 2.7171)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C122E #142E12
analogous
#1E122E #2C122E #2E1222
triadic
#2C122E #2E2C12 #122E2C
tetradic
#2C122E #2E1E12 #142E12 #12222E
square
#2C122E #2E1E12 #142E12 #12222E
split-complementary
#2C122E #222E12 #122E1E
monochromatic
#150916 #150916 #2C122E #56235A #803486

Accessibility & contrast

On white

17.03
#2C122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C122E
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C122E#FFFFFF#000000##FFFFFF
##2C122E1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c122e;
/* rgb */ color: rgb(44, 18, 46);
/* oklch */ color: oklch(23.4% 0.062 324.6);
Tailwind
colors: {
  custom: {
    50: '#665166',
    500: '#2c122e',
    950: '#000000',
  },
}
SCSS
$custom: #2c122e;
$custom-light: #665166;
$custom-dark: #000000;
JSON
{
  "hex": "#2c122e",
  "rgb": {
    "r": 44,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 295.714,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23445,
    "c": 0.06232,
    "h": 324.6
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#2C122E
secondary
#396636
accent
#D3545D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C122E

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

Preview Lab → · Contrast checker → · Palette generator →

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