#2C212B#2C212B

#2C212B is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.5% C 0.024 H 329.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#2C212B
RGBrgb(44, 33, 43)
HSLhsl(305, 14%, 15%)
HSVhsv(305, 25%, 17%)
CMYKcmyk(0%, 25%, 2.3%, 82.7%)
CIE-LABlab(14.39, 7.48, -4.65)
CIE-LCHlch(14.39, 8.81, 328.17°)
OKLaboklab(26.49% 0.0209 -0.0124)
OKLCHoklch(26.49% 0.024 329.2)
XYZxyz(2.0186, 1.7977, 2.5257)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C212B #212C22
analogous
#28212C #2C212B #2C2125
triadic
#2C212B #2B2C21 #212B2C
tetradic
#2C212B #2C2821 #212C22 #21252C
square
#2C212B #2C2821 #212C22 #21252C
split-complementary
#2C212B #252C21 #212C28
monochromatic
#110D11 #110D11 #2C212B #4F3B4D #72556F

Accessibility & contrast

On white

15.45
#2C212B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2C212B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C212B
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C212B#FFFFFF#000000##FFFFFF
##2C212B1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#23252B
Tritanopia (blue-blind)
#2D2224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2c212b;
/* rgb */ color: rgb(44, 33, 43);
/* oklch */ color: oklch(26.5% 0.024 329.2);
Tailwind
colors: {
  custom: {
    50: '#655c64',
    500: '#2c212b',
    950: '#000000',
  },
}
SCSS
$custom: #2c212b;
$custom-light: #655c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c212b",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 305.455,
    "s": 14.286,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26486,
    "c": 0.02431,
    "h": 329.2
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#2C212B
secondary
#4C5D4D
accent
#B77771
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2C212B

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

Preview Lab → · Contrast checker → · Palette generator →

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