#24072D#24072D

#24072D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.077 H 317.1°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#24072D
RGBrgb(36, 7, 45)
HSLhsl(286, 73%, 10%)
HSVhsv(286, 84%, 18%)
CMYKcmyk(20%, 84.4%, 0%, 82.4%)
CIE-LABlab(6.47, 22.01, -18.50)
CIE-LCHlch(6.47, 28.75, 319.95°)
OKLaboklab(20.26% 0.0565 -0.0525)
OKLCHoklch(20.26% 0.077 317.1)
XYZxyz(1.2771, 0.7165, 2.5531)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24072D #102D07
analogous
#11072D #24072D #2D0723
triadic
#24072D #2D2407 #072D24
tetradic
#24072D #2D1107 #102D07 #07232D
square
#24072D #2D1107 #102D07 #07232D
split-complementary
#24072D #232D07 #072D11
monochromatic
#15041A #15041A #24072D #4E0F62 #791797

Accessibility & contrast

On white

18.37
#24072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#24072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24072D
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24072D#FFFFFF#000000##FFFFFF
##24072D1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#08152C
Tritanopia (blue-blind)
#240E19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #24072d;
/* rgb */ color: rgb(36, 7, 45);
/* oklch */ color: oklch(20.3% 0.077 317.1);
Tailwind
colors: {
  custom: {
    50: '#604966',
    500: '#24072d',
    950: '#000000',
  },
}
SCSS
$custom: #24072d;
$custom-light: #604966;
$custom-dark: #000000;
JSON
{
  "hex": "#24072d",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 285.789,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20264,
    "c": 0.07715,
    "h": 317.1
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#24072D
secondary
#356D23
accent
#F03864
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #24072D

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

Preview Lab → · Contrast checker → · Palette generator →

#24072D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva