#2C212F#2C212F

#2C212F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.030 H 318.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#2C212F
RGBrgb(44, 33, 47)
HSLhsl(287, 18%, 16%)
HSVhsv(287, 30%, 18%)
CMYKcmyk(6.4%, 29.8%, 0%, 81.6%)
CIE-LABlab(14.56, 8.48, -7.25)
CIE-LCHlch(14.56, 11.16, 319.46°)
OKLaboklab(26.67% 0.0225 -0.0196)
OKLCHoklch(26.67% 0.03 318.9)
XYZxyz(2.0956, 1.8285, 2.9313)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C212F #242F21
analogous
#25212F #2C212F #2F212B
triadic
#2C212F #2F2C21 #212F2C
tetradic
#2C212F #2F2521 #242F21 #212B2F
square
#2C212F #2F2521 #242F21 #212B2F
split-complementary
#2C212F #2B2F21 #212F25
monochromatic
#110D12 #110D12 #2C212F #4E3A53 #6F5377

Accessibility & contrast

On white

15.38
#2C212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C212F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C212F#FFFFFF#000000##FFFFFF
##2C212F1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#2C2226
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c212f;
/* rgb */ color: rgb(44, 33, 47);
/* oklch */ color: oklch(26.7% 0.030 318.9);
Tailwind
colors: {
  custom: {
    50: '#655c67',
    500: '#2c212f',
    950: '#000000',
  },
}
SCSS
$custom: #2c212f;
$custom-light: #655c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c212f",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 287.143,
    "s": 17.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.0299,
    "h": 318.9
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#2C212F
secondary
#50604B
accent
#BA6E7E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C212F

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

Preview Lab → · Contrast checker → · Palette generator →

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