#24002C#24002C

#24002C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.091 H 319.9°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#24002C
RGBrgb(36, 0, 44)
HSLhsl(289, 100%, 9%)
HSVhsv(289, 100%, 17%)
CMYKcmyk(18.2%, 100%, 0%, 82.7%)
CIE-LABlab(5.03, 25.19, -20.03)
CIE-LCHlch(5.03, 32.18, 321.51°)
OKLaboklab(18.97% 0.0697 -0.0587)
OKLCHoklch(18.97% 0.091 319.9)
XYZxyz(1.1821, 0.5570, 2.4276)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24002C #082C00
analogous
#0E002C #24002C #2C001E
triadic
#24002C #2C2400 #002C24
tetradic
#24002C #2C0E00 #082C00 #001E2C
square
#24002C #2C0E00 #082C00 #001E2C
split-complementary
#24002C #1E2C00 #002C0E
monochromatic
#19001F #19001F #24002C #560069 #8800A6

Accessibility & contrast

On white

18.90
#24002C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#24002C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24002C
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24002C#FFFFFF#000000##FFFFFF
##24002C1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#240815
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #24002c;
/* rgb */ color: rgb(36, 0, 44);
/* oklch */ color: oklch(19.0% 0.091 319.9);
Tailwind
colors: {
  custom: {
    50: '#604665',
    500: '#24002c',
    950: '#000000',
  },
}
SCSS
$custom: #24002c;
$custom-light: #604665;
$custom-dark: #000000;
JSON
{
  "hex": "#24002c",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 44
  },
  "hsl": {
    "h": 289.091,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18969,
    "c": 0.09108,
    "h": 319.9
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#24002C
secondary
#267314
accent
#FF2950
background
#F5F3F6
surface
#EAE5EB
border
#C6C1C6
text
#050005
muted
#79767A

Preview Lab

Preview with #24002C

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

Preview Lab → · Contrast checker → · Palette generator →

#24002C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva