#24222A#24222A

#24222A is a dark, near-neutral violet. Relative luminance 0.017; OKLCH L 25.8% C 0.015 H 296.8°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#24222A
RGBrgb(36, 34, 42)
HSLhsl(255, 11%, 15%)
HSVhsv(255, 19%, 16%)
CMYKcmyk(14.3%, 19%, 0%, 83.5%)
CIE-LABlab(13.75, 2.99, -4.98)
CIE-LCHlch(13.75, 5.81, 300.93°)
OKLaboklab(25.76% 0.0068 -0.0135)
OKLCHoklch(25.76% 0.015 296.8)
XYZxyz(1.7174, 1.6863, 2.4250)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24222A #282A22
analogous
#22242A #24222A #28222A
triadic
#24222A #2A2422 #222A24
tetradic
#24222A #2A2224 #282A22 #222A28
square
#24222A #2A2224 #282A22 #222A28
split-complementary
#24222A #2A2822 #242A22
monochromatic
#0E0E11 #0E0E11 #24222A #413D4C #5E596E

Accessibility & contrast

On white

15.70
#24222A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#24222A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24222A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24222A#FFFFFF#000000##FFFFFF
##24222A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232A
Deuteranopia (green-blind)
#21232A
Tritanopia (blue-blind)
#232325
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #24222a;
/* rgb */ color: rgb(36, 34, 42);
/* oklch */ color: oklch(25.8% 0.015 296.8);
Tailwind
colors: {
  custom: {
    50: '#5e5c63',
    500: '#24222a',
    950: '#000000',
  },
}
SCSS
$custom: #24222a;
$custom-light: #5e5c63;
$custom-dark: #000000;
JSON
{
  "hex": "#24222a",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 255,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25756,
    "c": 0.0151,
    "h": 296.8
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#24222A
secondary
#575A4E
accent
#B374A4
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #24222A

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

Preview Lab → · Contrast checker → · Palette generator →

#24222A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva