#24032D#24032D

#24032D is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.085 H 318.2°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#24032D
RGBrgb(36, 3, 45)
HSLhsl(287, 88%, 9%)
HSVhsv(287, 93%, 18%)
CMYKcmyk(20%, 93.3%, 0%, 82.4%)
CIE-LABlab(5.69, 24.02, -19.74)
CIE-LCHlch(5.69, 31.10, 320.58°)
OKLaboklab(19.6% 0.0635 -0.0569)
OKLCHoklch(19.6% 0.085 318.2)
XYZxyz(1.2337, 0.6297, 2.5387)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24032D #0C2D03
analogous
#0F032D #24032D #2D0321
triadic
#24032D #2D2403 #032D24
tetradic
#24032D #2D0F03 #0C2D03 #03212D
square
#24032D #2D0F03 #0C2D03 #03212D
split-complementary
#24032D #212D03 #032D0F
monochromatic
#17021D #17021D #24032D #520766 #800BA0

Accessibility & contrast

On white

18.65
#24032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#24032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24032D
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24032D#FFFFFF#000000##FFFFFF
##24032D1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#04142C
Tritanopia (blue-blind)
#240B17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #24032d;
/* rgb */ color: rgb(36, 3, 45);
/* oklch */ color: oklch(19.6% 0.085 318.2);
Tailwind
colors: {
  custom: {
    50: '#604766',
    500: '#24032d',
    950: '#000000',
  },
}
SCSS
$custom: #24032d;
$custom-light: #604766;
$custom-dark: #000000;
JSON
{
  "hex": "#24032d",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 287.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19596,
    "c": 0.08527,
    "h": 318.2
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#24032D
secondary
#2D711B
accent
#FE2A57
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #24032D

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

Preview Lab → · Contrast checker → · Palette generator →

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