#24002E#24002E

#24002E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.093 H 318.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#24002E
RGBrgb(36, 0, 46)
HSLhsl(287, 100%, 9%)
HSVhsv(287, 100%, 18%)
CMYKcmyk(21.7%, 100%, 0%, 82%)
CIE-LABlab(5.17, 25.84, -21.32)
CIE-LCHlch(5.17, 33.49, 320.48°)
OKLaboklab(19.16% 0.069 -0.0622)
OKLCHoklch(19.16% 0.093 318)
XYZxyz(1.2206, 0.5724, 2.6304)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24002E #0A2E00
analogous
#0D002E #24002E #2E0021
triadic
#24002E #2E2400 #002E24
tetradic
#24002E #2E0D00 #0A2E00 #00212E
square
#24002E #2E0D00 #0A2E00 #00212E
split-complementary
#24002E #212E00 #002E0D
monochromatic
#18001F #18001F #24002E #54006B #8400A8

Accessibility & contrast

On white

18.84
#24002E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24002E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24002E#FFFFFF#000000##FFFFFF
##24002E1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#01122D
Tritanopia (blue-blind)
#240917
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #24002e;
/* rgb */ color: rgb(36, 0, 46);
/* oklch */ color: oklch(19.2% 0.093 318.0);
Tailwind
colors: {
  custom: {
    50: '#614667',
    500: '#24002e',
    950: '#000000',
  },
}
SCSS
$custom: #24002e;
$custom-light: #614667;
$custom-dark: #000000;
JSON
{
  "hex": "#24002e",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 46
  },
  "hsl": {
    "h": 286.957,
    "s": 100,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19157,
    "c": 0.09292,
    "h": 318
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#24002E
secondary
#2A7515
accent
#FF2957
background
#F5F3F6
surface
#EAE5EB
border
#C6C1C6
text
#050006
muted
#79767A

Preview Lab

Preview with #24002E

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

Preview Lab → · Contrast checker → · Palette generator →

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