#24142A#24142A

#24142A is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.4% C 0.047 H 316.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#24142A
RGBrgb(36, 20, 42)
HSLhsl(284, 35%, 12%)
HSVhsv(284, 52%, 16%)
CMYKcmyk(14.3%, 52.4%, 0%, 83.5%)
CIE-LABlab(9.34, 13.21, -11.74)
CIE-LCHlch(9.34, 17.67, 318.37°)
OKLaboklab(22.38% 0.034 -0.0324)
OKLCHoklch(22.38% 0.047 316.4)
XYZxyz(1.3956, 1.0426, 2.3178)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24142A #1A2A14
analogous
#19142A #24142A #2A1425
triadic
#24142A #2A2414 #142A24
tetradic
#24142A #2A1914 #1A2A14 #14252A
square
#24142A #2A1914 #1A2A14 #14252A
split-complementary
#24142A #252A14 #142A19
monochromatic
#120A15 #120A15 #24142A #482853 #6B3B7D

Accessibility & contrast

On white

17.38
#24142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#24142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24142A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24142A#FFFFFF#000000##FFFFFF
##24142A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#141B29
Tritanopia (blue-blind)
#24171D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #24142a;
/* rgb */ color: rgb(36, 20, 42);
/* oklch */ color: oklch(22.4% 0.047 316.4);
Tailwind
colors: {
  custom: {
    50: '#5f5163',
    500: '#24142a',
    950: '#000000',
  },
}
SCSS
$custom: #24142a;
$custom-light: #5f5163;
$custom-dark: #000000;
JSON
{
  "hex": "#24142a",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 283.636,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22383,
    "c": 0.04695,
    "h": 316.4
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#24142A
secondary
#44603A
accent
#CC5C7B
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #24142A

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

Preview Lab → · Contrast checker → · Palette generator →

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