#24072E#24072E

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

Color values

HEX#24072E
RGBrgb(36, 7, 46)
HSLhsl(285, 74%, 10%)
HSVhsv(285, 85%, 18%)
CMYKcmyk(21.7%, 84.8%, 0%, 82%)
CIE-LABlab(6.54, 22.30, -19.13)
CIE-LCHlch(6.54, 29.39, 319.37°)
OKLaboklab(20.35% 0.0564 -0.0543)
OKLCHoklch(20.35% 0.078 316.1)
XYZxyz(1.2966, 0.7243, 2.6557)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24072E #112E07
analogous
#10072E #24072E #2E0724
triadic
#24072E #2E2407 #072E24
tetradic
#24072E #2E1007 #112E07 #07242E
square
#24072E #2E1007 #112E07 #07242E
split-complementary
#24072E #242E07 #072E10
monochromatic
#15041B #15041B #24072E #4E0F63 #771798

Accessibility & contrast

On white

18.34
#24072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24072E
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24072E#FFFFFF#000000##FFFFFF
##24072E1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#07152D
Tritanopia (blue-blind)
#230F19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #24072e;
/* rgb */ color: rgb(36, 7, 46);
/* oklch */ color: oklch(20.3% 0.078 316.1);
Tailwind
colors: {
  custom: {
    50: '#604967',
    500: '#24072e',
    950: '#000000',
  },
}
SCSS
$custom: #24072e;
$custom-light: #604967;
$custom-dark: #000000;
JSON
{
  "hex": "#24072e",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 284.615,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20348,
    "c": 0.07831,
    "h": 316.1
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#24072E
secondary
#366E23
accent
#F03867
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #24072E

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

Preview Lab → · Contrast checker → · Palette generator →

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