#2C222E#2C222E

#2C222E is a dark, muted purple. Relative luminance 0.019; OKLCH L 26.9% C 0.026 H 320.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#2C222E
RGBrgb(44, 34, 46)
HSLhsl(290, 15%, 16%)
HSVhsv(290, 26%, 18%)
CMYKcmyk(4.3%, 26.1%, 0%, 82%)
CIE-LABlab(14.83, 7.51, -6.13)
CIE-LCHlch(14.83, 9.70, 320.77°)
OKLaboklab(26.87% 0.0202 -0.0165)
OKLCHoklch(26.87% 0.026 320.7)
XYZxyz(2.1038, 1.8768, 2.8357)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C222E #242E22
analogous
#26222E #2C222E #2E222A
triadic
#2C222E #2E2C22 #222E2C
tetradic
#2C222E #2E2622 #242E22 #222A2E
square
#2C222E #2E2622 #242E22 #222A2E
split-complementary
#2C222E #2A2E22 #222E26
monochromatic
#110D12 #110D12 #2C222E #4E3C51 #6F5674

Accessibility & contrast

On white

15.27
#2C222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2C222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C222E
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C222E#FFFFFF#000000##FFFFFF
##2C222E1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#2C2326
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c222e;
/* rgb */ color: rgb(44, 34, 46);
/* oklch */ color: oklch(26.9% 0.026 320.7);
Tailwind
colors: {
  custom: {
    50: '#655d66',
    500: '#2c222e',
    950: '#000000',
  },
}
SCSS
$custom: #2c222e;
$custom-light: #655d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c222e",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 290,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26866,
    "c": 0.0261,
    "h": 320.7
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#2C222E
secondary
#505F4D
accent
#B8707C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C222E

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

Preview Lab → · Contrast checker → · Palette generator →

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