#2C242E#2C242E

#2C242E is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.4% C 0.021 H 319.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2C242E
RGBrgb(44, 36, 46)
HSLhsl(288, 12%, 16%)
HSVhsv(288, 22%, 18%)
CMYKcmyk(4.3%, 21.7%, 0%, 82%)
CIE-LABlab(15.46, 6.09, -5.18)
CIE-LCHlch(15.46, 7.99, 319.60°)
OKLaboklab(27.35% 0.0163 -0.0139)
OKLCHoklch(27.35% 0.021 319.5)
XYZxyz(2.1627, 1.9945, 2.8553)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C242E #262E24
analogous
#27242E #2C242E #2E242B
triadic
#2C242E #2E2C24 #242E2C
tetradic
#2C242E #2E2724 #262E24 #242B2E
square
#2C242E #2E2724 #262E24 #242B2E
split-complementary
#2C242E #2B2E24 #242E27
monochromatic
#100D11 #100D11 #2C242E #4D3F50 #6E5A73

Accessibility & contrast

On white

15.01
#2C242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C242E
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C242E#FFFFFF#000000##FFFFFF
##2C242E1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#2C2527
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c242e;
/* rgb */ color: rgb(44, 36, 46);
/* oklch */ color: oklch(27.4% 0.021 319.5);
Tailwind
colors: {
  custom: {
    50: '#655e66',
    500: '#2c242e',
    950: '#000000',
  },
}
SCSS
$custom: #2c242e;
$custom-light: #655e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c242e",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 288,
    "s": 12.195,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27353,
    "c": 0.02143,
    "h": 319.5
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#2C242E
secondary
#525E4F
accent
#B57380
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C242E

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

Preview Lab → · Contrast checker → · Palette generator →

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