#2C122C#2C122C

#2C122C is a very dark, muted purple. Relative luminance 0.011; OKLCH L 23.3% C 0.060 H 327.3°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2C122C
RGBrgb(44, 18, 44)
HSLhsl(300, 42%, 12%)
HSVhsv(300, 59%, 17%)
CMYKcmyk(0%, 59.1%, 0%, 82.7%)
CIE-LABlab(10.18, 18.15, -11.81)
CIE-LCHlch(10.18, 21.65, 326.94°)
OKLaboklab(23.32% 0.0504 -0.0324)
OKLCHoklch(23.32% 0.06 327.3)
XYZxyz(1.7096, 1.1500, 2.5143)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C122C #122C12
analogous
#1F122C #2C122C #2C121F
triadic
#2C122C #2C2C12 #122C2C
tetradic
#2C122C #2C1F12 #122C12 #121F2C
square
#2C122C #2C1F12 #122C12 #121F2C
split-complementary
#2C122C #1F2C12 #122C1F
monochromatic
#160916 #160916 #2C122C #572457 #833683

Accessibility & contrast

On white

17.07
#2C122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C122C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C122C#FFFFFF#000000##FFFFFF
##2C122C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#2D151D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c122c;
/* rgb */ color: rgb(44, 18, 44);
/* oklch */ color: oklch(23.3% 0.060 327.3);
Tailwind
colors: {
  custom: {
    50: '#665165',
    500: '#2c122c',
    950: '#000000',
  },
}
SCSS
$custom: #2c122c;
$custom-light: #665165;
$custom-dark: #000000;
JSON
{
  "hex": "#2c122c",
  "rgb": {
    "r": 44,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23321,
    "c": 0.05991,
    "h": 327.3
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#2C122C
secondary
#366336
accent
#D25656
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C122C

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

Preview Lab → · Contrast checker → · Palette generator →

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