#2C122A#2C122A

#2C122A is a very dark, muted purple. Relative luminance 0.011; OKLCH L 23.2% C 0.058 H 330.2°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2C122A
RGBrgb(44, 18, 42)
HSLhsl(305, 42%, 12%)
HSVhsv(305, 59%, 17%)
CMYKcmyk(0%, 59.1%, 4.5%, 82.7%)
CIE-LABlab(10.07, 17.68, -10.50)
CIE-LCHlch(10.07, 20.57, 329.29°)
OKLaboklab(23.2% 0.0499 -0.0286)
OKLCHoklch(23.2% 0.058 330.2)
XYZxyz(1.6729, 1.1353, 2.3211)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C122A #122C14
analogous
#21122C #2C122A #2C121D
triadic
#2C122A #2A2C12 #122A2C
tetradic
#2C122A #2C2112 #122C14 #121D2C
square
#2C122A #2C2112 #122C14 #121D2C
split-complementary
#2C122A #1D2C12 #122C21
monochromatic
#160915 #160915 #2C122A #572453 #83367D

Accessibility & contrast

On white

17.11
#2C122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C122A
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C122A#FFFFFF#000000##FFFFFF
##2C122A1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192B
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#2E141C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c122a;
/* rgb */ color: rgb(44, 18, 42);
/* oklch */ color: oklch(23.2% 0.058 330.2);
Tailwind
colors: {
  custom: {
    50: '#665163',
    500: '#2c122a',
    950: '#000000',
  },
}
SCSS
$custom: #2c122a;
$custom-light: #665163;
$custom-dark: #000000;
JSON
{
  "hex": "#2c122a",
  "rgb": {
    "r": 44,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 304.615,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23201,
    "c": 0.05757,
    "h": 330.2
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#2C122A
secondary
#36633A
accent
#D26056
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C122A

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

Preview Lab → · Contrast checker → · Palette generator →

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