#24032F#24032F

#24032F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.087 H 316.2°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#24032F
RGBrgb(36, 3, 47)
HSLhsl(285, 88%, 10%)
HSVhsv(285, 94%, 18%)
CMYKcmyk(23.4%, 93.6%, 0%, 81.6%)
CIE-LABlab(5.83, 24.65, -21.01)
CIE-LCHlch(5.83, 32.39, 319.55°)
OKLaboklab(19.78% 0.0631 -0.0604)
OKLCHoklch(19.78% 0.087 316.2)
XYZxyz(1.2731, 0.6455, 2.7463)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24032F #0E2F03
analogous
#0E032F #24032F #2F0324
triadic
#24032F #2F2403 #032F24
tetradic
#24032F #2F0E03 #0E2F03 #03242F
square
#24032F #2F0E03 #0E2F03 #03242F
split-complementary
#24032F #242F03 #032F0E
monochromatic
#16021D #16021D #24032F #500769 #7C0AA2

Accessibility & contrast

On white

18.60
#24032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24032F
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24032F#FFFFFF#000000##FFFFFF
##24032F1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#230C18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #24032f;
/* rgb */ color: rgb(36, 3, 47);
/* oklch */ color: oklch(19.8% 0.087 316.2);
Tailwind
colors: {
  custom: {
    50: '#614768',
    500: '#24032f',
    950: '#000000',
  },
}
SCSS
$custom: #24032f;
$custom-light: #614768;
$custom-dark: #000000;
JSON
{
  "hex": "#24032f",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 285,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19776,
    "c": 0.08735,
    "h": 316.2
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#24032F
secondary
#31731B
accent
#FE2A5F
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #24032F

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

Preview Lab → · Contrast checker → · Palette generator →

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