#24072A#24072A

#24072A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.074 H 320.4°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#24072A
RGBrgb(36, 7, 42)
HSLhsl(290, 71%, 10%)
HSVhsv(290, 83%, 16%)
CMYKcmyk(14.3%, 83.3%, 0%, 83.5%)
CIE-LABlab(6.27, 21.12, -16.56)
CIE-LCHlch(6.27, 26.84, 321.89°)
OKLaboklab(20.02% 0.0567 -0.047)
OKLCHoklch(20.02% 0.074 320.4)
XYZxyz(1.2214, 0.6943, 2.2597)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24072A #0D2A07
analogous
#13072A #24072A #2A071F
triadic
#24072A #2A2407 #072A24
tetradic
#24072A #2A1307 #0D2A07 #071F2A
square
#24072A #2A1307 #0D2A07 #071F2A
split-complementary
#24072A #1F2A07 #072A13
monochromatic
#16041A #16041A #24072A #51105E #7E1893

Accessibility & contrast

On white

18.44
#24072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24072A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24072A#FFFFFF#000000##FFFFFF
##24072A1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#0A1529
Tritanopia (blue-blind)
#240D17
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #24072a;
/* rgb */ color: rgb(36, 7, 42);
/* oklch */ color: oklch(20.0% 0.074 320.4);
Tailwind
colors: {
  custom: {
    50: '#604963',
    500: '#24072a',
    950: '#000000',
  },
}
SCSS
$custom: #24072a;
$custom-light: #604963;
$custom-dark: #000000;
JSON
{
  "hex": "#24072a",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 289.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20021,
    "c": 0.07366,
    "h": 320.4
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#24072A
secondary
#2F6A23
accent
#EE3A59
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #24072A

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

Preview Lab → · Contrast checker → · Palette generator →

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