#24011F#24011F

#24011F is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.1% C 0.077 H 334.5°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#24011F
RGBrgb(36, 1, 31)
HSLhsl(309, 95%, 7%)
HSVhsv(309, 97%, 14%)
CMYKcmyk(0%, 97.2%, 13.9%, 85.9%)
CIE-LABlab(4.48, 20.77, -10.87)
CIE-LCHlch(4.48, 23.44, 332.38°)
OKLaboklab(18.08% 0.0694 -0.0331)
OKLCHoklch(18.08% 0.077 334.5)
XYZxyz(0.9857, 0.4958, 1.3398)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24011F #012406
analogous
#180124 #24011F #24010E
triadic
#24011F #1F2401 #011F24
tetradic
#24011F #241801 #012406 #010E24
square
#24011F #241801 #012406 #010E24
split-complementary
#24011F #0E2401 #012418
monochromatic
#1E011A #1E011A #24011F #600352 #9B0486

Accessibility & contrast

On white

19.10
#24011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#24011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24011F
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24011F#FFFFFF#000000##FFFFFF
##24011F1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#0C111E
Tritanopia (blue-blind)
#26030E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #24011f;
/* rgb */ color: rgb(36, 1, 31);
/* oklch */ color: oklch(18.1% 0.077 334.5);
Tailwind
colors: {
  custom: {
    50: '#5f465a',
    500: '#24011f',
    950: '#000000',
  },
}
SCSS
$custom: #24011f;
$custom-light: #5f465a;
$custom-dark: #000000;
JSON
{
  "hex": "#24011f",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 308.571,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18083,
    "c": 0.07686,
    "h": 334.5
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#24011F
secondary
#166B22
accent
#FF4729
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#050003
muted
#797678

Preview Lab

Preview with #24011F

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

Preview Lab → · Contrast checker → · Palette generator →

#24011F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva