#240824#240824

#240824 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.7% C 0.065 H 327.7°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#240824
RGBrgb(36, 8, 36)
HSLhsl(300, 64%, 9%)
HSVhsv(300, 78%, 14%)
CMYKcmyk(0%, 77.8%, 0%, 85.9%)
CIE-LABlab(6.11, 18.92, -12.26)
CIE-LCHlch(6.11, 22.54, 327.06°)
OKLaboklab(19.74% 0.0548 -0.0346)
OKLCHoklch(19.74% 0.065 327.7)
XYZxyz(1.1328, 0.6762, 1.7396)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240824 #082408
analogous
#160824 #240824 #240816
triadic
#240824 #242408 #082424
tetradic
#240824 #241608 #082408 #081624
square
#240824 #241608 #082408 #081624
split-complementary
#240824 #162408 #082416
monochromatic
#190619 #190619 #240824 #561356 #881E88

Accessibility & contrast

On white

18.50
#240824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240824
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240824#FFFFFF#000000##FFFFFF
##2408241.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051125
Deuteranopia (green-blind)
#0E1523
Tritanopia (blue-blind)
#250B14
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240824;
/* rgb */ color: rgb(36, 8, 36);
/* oklch */ color: oklch(19.7% 0.065 327.7);
Tailwind
colors: {
  custom: {
    50: '#604a5e',
    500: '#240824',
    950: '#000000',
  },
}
SCSS
$custom: #240824;
$custom-light: #604a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#240824",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 36
  },
  "hsl": {
    "h": 300,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19743,
    "c": 0.06479,
    "h": 327.7
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#240824
secondary
#266226
accent
#E74141
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240824

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

Preview Lab → · Contrast checker → · Palette generator →

#240824 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva