#24052B#24052B

#24052B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.8% C 0.079 H 319.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#24052B
RGBrgb(36, 5, 43)
HSLhsl(289, 79%, 9%)
HSVhsv(289, 88%, 17%)
CMYKcmyk(16.3%, 88.4%, 0%, 83.1%)
CIE-LABlab(5.94, 22.41, -17.83)
CIE-LCHlch(5.94, 28.64, 321.49°)
OKLaboklab(19.77% 0.0602 -0.051)
OKLCHoklch(19.77% 0.079 319.7)
XYZxyz(1.2178, 0.6581, 2.3479)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24052B #0C2B05
analogous
#11052B #24052B #2B051F
triadic
#24052B #2B2405 #052B24
tetradic
#24052B #2B1105 #0C2B05 #051F2B
square
#24052B #2B1105 #0C2B05 #051F2B
split-complementary
#24052B #1F2B05 #052B11
monochromatic
#17031B #17031B #24052B #520B62 #801299

Accessibility & contrast

On white

18.56
#24052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#24052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24052B
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24052B#FFFFFF#000000##FFFFFF
##24052B1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#240C17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #24052b;
/* rgb */ color: rgb(36, 5, 43);
/* oklch */ color: oklch(19.8% 0.079 319.7);
Tailwind
colors: {
  custom: {
    50: '#604864',
    500: '#24052b',
    950: '#000000',
  },
}
SCSS
$custom: #24052b;
$custom-light: #604864;
$custom-dark: #000000;
JSON
{
  "hex": "#24052b",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 288.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19767,
    "c": 0.0789,
    "h": 319.7
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#24052B
secondary
#2D6D1F
accent
#F63256
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #24052B

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

Preview Lab → · Contrast checker → · Palette generator →

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