#24102B#24102B

#24102B is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.6% C 0.057 H 316.7°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#24102B
RGBrgb(36, 16, 43)
HSLhsl(284, 46%, 12%)
HSVhsv(284, 63%, 17%)
CMYKcmyk(16.3%, 62.8%, 0%, 83.1%)
CIE-LABlab(8.31, 16.28, -14.10)
CIE-LCHlch(8.31, 21.54, 319.10°)
OKLaboklab(21.63% 0.0416 -0.0392)
OKLCHoklch(21.63% 0.057 316.7)
XYZxyz(1.3488, 0.9201, 2.3916)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24102B #172B10
analogous
#17102B #24102B #2B1025
triadic
#24102B #2B2410 #102B24
tetradic
#24102B #2B1710 #172B10 #10252B
square
#24102B #2B1710 #172B10 #10252B
split-complementary
#24102B #252B10 #102B17
monochromatic
#130816 #130816 #24102B #492158 #6F3184

Accessibility & contrast

On white

17.74
#24102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#24102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24102B
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24102B#FFFFFF#000000##FFFFFF
##24102B1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#24141B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24102b;
/* rgb */ color: rgb(36, 16, 43);
/* oklch */ color: oklch(21.6% 0.057 316.7);
Tailwind
colors: {
  custom: {
    50: '#5f4f64',
    500: '#24102b',
    950: '#000000',
  },
}
SCSS
$custom: #24102b;
$custom-light: #5f4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#24102b",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 284.444,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21632,
    "c": 0.05717,
    "h": 316.7
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#24102B
secondary
#406433
accent
#D55274
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #24102B

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

Preview Lab → · Contrast checker → · Palette generator →

#24102B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva