#24002B#24002B

#24002B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.9% C 0.090 H 320.9°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#24002B
RGBrgb(36, 0, 43)
HSLhsl(290, 100%, 8%)
HSVhsv(290, 100%, 17%)
CMYKcmyk(16.3%, 100%, 0%, 83.1%)
CIE-LABlab(4.96, 24.87, -19.38)
CIE-LCHlch(4.96, 31.53, 322.07°)
OKLaboklab(18.88% 0.07 -0.0569)
OKLCHoklch(18.88% 0.09 320.9)
XYZxyz(1.1635, 0.5496, 2.3298)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24002B #072B00
analogous
#0E002B #24002B #2B001C
triadic
#24002B #2B2400 #002B24
tetradic
#24002B #2B0E00 #072B00 #001C2B
square
#24002B #2B0E00 #072B00 #001C2B
split-complementary
#24002B #1C2B00 #002B0E
monochromatic
#1A001F #1A001F #24002B #570068 #8A00A5

Accessibility & contrast

On white

18.92
#24002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24002B
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24002B#FFFFFF#000000##FFFFFF
##24002B1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#03122A
Tritanopia (blue-blind)
#240715
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #24002b;
/* rgb */ color: rgb(36, 0, 43);
/* oklch */ color: oklch(18.9% 0.090 320.9);
Tailwind
colors: {
  custom: {
    50: '#604664',
    500: '#24002b',
    950: '#000000',
  },
}
SCSS
$custom: #24002b;
$custom-light: #604664;
$custom-dark: #000000;
JSON
{
  "hex": "#24002b",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 290.233,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18876,
    "c": 0.09018,
    "h": 320.9
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#24002B
secondary
#247314
accent
#FF294C
background
#F5F3F6
surface
#EAE5EB
border
#C6C1C6
text
#050005
muted
#79767A

Preview Lab

Preview with #24002B

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

Preview Lab → · Contrast checker → · Palette generator →

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