#24182A#24182A

#24182A is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.3% C 0.038 H 314.0°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#24182A
RGBrgb(36, 24, 42)
HSLhsl(280, 27%, 13%)
HSVhsv(280, 43%, 16%)
CMYKcmyk(14.3%, 42.9%, 0%, 83.5%)
CIE-LABlab(10.52, 10.30, -9.90)
CIE-LCHlch(10.52, 14.29, 316.14°)
OKLaboklab(23.28% 0.0263 -0.0272)
OKLCHoklch(23.28% 0.038 314)
XYZxyz(1.4720, 1.1955, 2.3433)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24182A #1E2A18
analogous
#1B182A #24182A #2A1827
triadic
#24182A #2A2418 #182A24
tetradic
#24182A #2A1B18 #1E2A18 #18272A
square
#24182A #2A1B18 #1E2A18 #18272A
split-complementary
#24182A #272A18 #182A1B
monochromatic
#110B13 #110B13 #24182A #452E51 #674578

Accessibility & contrast

On white

16.95
#24182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#24182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24182A
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24182A#FFFFFF#000000##FFFFFF
##24182A1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#241A1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24182a;
/* rgb */ color: rgb(36, 24, 42);
/* oklch */ color: oklch(23.3% 0.038 314.0);
Tailwind
colors: {
  custom: {
    50: '#5f5463',
    500: '#24182a',
    950: '#000000',
  },
}
SCSS
$custom: #24182a;
$custom-light: #5f5463;
$custom-dark: #000000;
JSON
{
  "hex": "#24182a",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 280,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23276,
    "c": 0.03779,
    "h": 314
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#24182A
secondary
#4A5E40
accent
#C46484
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040305
muted
#797879

Preview Lab

Preview with #24182A

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

Preview Lab → · Contrast checker → · Palette generator →

#24182A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva