#2C242F#2C242F

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

Color values

HEX#2C242F
RGBrgb(44, 36, 47)
HSLhsl(284, 13%, 16%)
HSVhsv(284, 23%, 18%)
CMYKcmyk(6.4%, 23.4%, 0%, 81.6%)
CIE-LABlab(15.50, 6.34, -5.83)
CIE-LCHlch(15.50, 8.61, 317.41°)
OKLaboklab(27.4% 0.0167 -0.0157)
OKLCHoklch(27.4% 0.023 316.8)
XYZxyz(2.1826, 2.0025, 2.9603)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C242F #272F24
analogous
#27242F #2C242F #2F242D
triadic
#2C242F #2F2C24 #242F2C
tetradic
#2C242F #2F2724 #272F24 #242D2F
square
#2C242F #2F2724 #272F24 #242D2F
split-complementary
#2C242F #2D2F24 #242F27
monochromatic
#100D11 #100D11 #2C242F #4C3F52 #6D5974

Accessibility & contrast

On white

15.00
#2C242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C242F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C242F#FFFFFF#000000##FFFFFF
##2C242F1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#24272F
Tritanopia (blue-blind)
#2C2528
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c242f;
/* rgb */ color: rgb(44, 36, 47);
/* oklch */ color: oklch(27.4% 0.023 316.8);
Tailwind
colors: {
  custom: {
    50: '#655e67',
    500: '#2c242f',
    950: '#000000',
  },
}
SCSS
$custom: #2c242f;
$custom-light: #655e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c242f",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 283.636,
    "s": 13.253,
    "l": 16.275
  },
  "oklch": {
    "l": 0.274,
    "c": 0.02295,
    "h": 316.8
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#2C242F
secondary
#54604F
accent
#B67284
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C242F

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

Preview Lab → · Contrast checker → · Palette generator →

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