#24112A#24112A

#24112A is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.8% C 0.054 H 317.6°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#24112A
RGBrgb(36, 17, 42)
HSLhsl(286, 42%, 12%)
HSVhsv(286, 60%, 16%)
CMYKcmyk(14.3%, 59.5%, 0%, 83.5%)
CIE-LABlab(8.51, 15.32, -13.04)
CIE-LCHlch(8.51, 20.12, 319.60°)
OKLaboklab(21.76% 0.0396 -0.0361)
OKLCHoklch(21.76% 0.054 317.6)
XYZxyz(1.3459, 0.9432, 2.3012)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24112A #172A11
analogous
#18112A #24112A #2A1124
triadic
#24112A #2A2411 #112A24
tetradic
#24112A #2A1811 #172A11 #11242A
square
#24112A #2A1811 #172A11 #11242A
split-complementary
#24112A #242A11 #112A18
monochromatic
#130916 #130916 #24112A #492356 #6F3481

Accessibility & contrast

On white

17.67
#24112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#24112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24112A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24112A#FFFFFF#000000##FFFFFF
##24112A1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#24151B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #24112a;
/* rgb */ color: rgb(36, 17, 42);
/* oklch */ color: oklch(21.8% 0.054 317.6);
Tailwind
colors: {
  custom: {
    50: '#5f4f63',
    500: '#24112a',
    950: '#000000',
  },
}
SCSS
$custom: #24112a;
$custom-light: #5f4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#24112a",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 285.6,
    "s": 42.373,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21761,
    "c": 0.05363,
    "h": 317.6
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#24112A
secondary
#406235
accent
#D25674
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #24112A

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

Preview Lab → · Contrast checker → · Palette generator →

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