#240822#240822

#240822 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.6% C 0.063 H 330.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#240822
RGBrgb(36, 8, 34)
HSLhsl(304, 64%, 9%)
HSVhsv(304, 78%, 14%)
CMYKcmyk(0%, 77.8%, 5.6%, 85.9%)
CIE-LABlab(6.00, 18.37, -10.88)
CIE-LCHlch(6.00, 21.36, 329.36°)
OKLaboklab(19.61% 0.0545 -0.0308)
OKLCHoklch(19.61% 0.063 330.5)
XYZxyz(1.1031, 0.6643, 1.5832)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240822 #08240A
analogous
#180824 #240822 #240814
triadic
#240822 #222408 #082224
tetradic
#240822 #241808 #08240A #081424
square
#240822 #241808 #08240A #081424
split-complementary
#240822 #142408 #082418
monochromatic
#190618 #190618 #240822 #561351 #881E81

Accessibility & contrast

On white

18.54
#240822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240822
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240822#FFFFFF#000000##FFFFFF
##2408221.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061123
Deuteranopia (green-blind)
#0F1521
Tritanopia (blue-blind)
#260B13
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240822;
/* rgb */ color: rgb(36, 8, 34);
/* oklch */ color: oklch(19.6% 0.063 330.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a5d',
    500: '#240822',
    950: '#000000',
  },
}
SCSS
$custom: #240822;
$custom-light: #5f4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#240822",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 304.286,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19607,
    "c": 0.0626,
    "h": 330.5
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#240822
secondary
#26622A
accent
#E74D41
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240822

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

Preview Lab → · Contrast checker → · Palette generator →

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