#24032C#24032C

#24032C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.084 H 319.2°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#24032C
RGBrgb(36, 3, 44)
HSLhsl(288, 87%, 9%)
HSVhsv(288, 93%, 17%)
CMYKcmyk(18.2%, 93.2%, 0%, 82.7%)
CIE-LABlab(5.62, 23.71, -19.10)
CIE-LCHlch(5.62, 30.45, 321.15°)
OKLaboklab(19.51% 0.0637 -0.0551)
OKLCHoklch(19.51% 0.084 319.2)
XYZxyz(1.2147, 0.6221, 2.4385)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24032C #0B2C03
analogous
#10032C #24032C #2C0320
triadic
#24032C #2C2403 #032C24
tetradic
#24032C #2C1003 #0B2C03 #03202C
square
#24032C #2C1003 #0B2C03 #03202C
split-complementary
#24032C #202C03 #032C10
monochromatic
#17021D #17021D #24032C #530765 #820B9F

Accessibility & contrast

On white

18.68
#24032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#24032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24032C
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24032C#FFFFFF#000000##FFFFFF
##24032C1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#05132B
Tritanopia (blue-blind)
#240A17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #24032c;
/* rgb */ color: rgb(36, 3, 44);
/* oklch */ color: oklch(19.5% 0.084 319.2);
Tailwind
colors: {
  custom: {
    50: '#604765',
    500: '#24032c',
    950: '#000000',
  },
}
SCSS
$custom: #24032c;
$custom-light: #604765;
$custom-dark: #000000;
JSON
{
  "hex": "#24032c",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 288.293,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19508,
    "c": 0.08423,
    "h": 319.2
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#24032C
secondary
#2C701B
accent
#FD2A54
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #24032C

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

Preview Lab → · Contrast checker → · Palette generator →

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