#24001F#24001F

#24001F is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.080 H 334.4°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#24001F
RGBrgb(36, 0, 31)
HSLhsl(308, 100%, 7%)
HSVhsv(308, 100%, 14%)
CMYKcmyk(0%, 100%, 13.9%, 85.9%)
CIE-LABlab(4.28, 21.21, -11.16)
CIE-LCHlch(4.28, 23.97, 332.25°)
OKLaboklab(17.88% 0.0719 -0.0344)
OKLCHoklch(17.88% 0.08 334.4)
XYZxyz(0.9749, 0.4741, 1.3362)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24001F #002405
analogous
#170024 #24001F #24000D
triadic
#24001F #1F2400 #001F24
tetradic
#24001F #241700 #002405 #000D24
square
#24001F #241700 #002405 #000D24
split-complementary
#24001F #0D2400 #002417
monochromatic
#1F001A #1F001A #24001F #610054 #9E0088

Accessibility & contrast

On white

19.18
#24001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#24001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24001F
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24001F#FFFFFF#000000##FFFFFF
##24001F1.0019.181.0919.18
#FFFFFF19.181.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#0B111E
Tritanopia (blue-blind)
#26020E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #24001f;
/* rgb */ color: rgb(36, 0, 31);
/* oklch */ color: oklch(17.9% 0.080 334.4);
Tailwind
colors: {
  custom: {
    50: '#5f465a',
    500: '#24001f',
    950: '#000000',
  },
}
SCSS
$custom: #24001f;
$custom-light: #5f465a;
$custom-dark: #000000;
JSON
{
  "hex": "#24001f",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 308.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17875,
    "c": 0.07972,
    "h": 334.4
  },
  "luminance": 0.00474
}

Semantic roles & 50–950 ramp

primary
#24001F
secondary
#136D20
accent
#FF4729
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#050003
muted
#797678

Preview Lab

Preview with #24001F

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

Preview Lab → · Contrast checker → · Palette generator →

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