#24202A#24202A

#24202A is a dark, near-neutral violet. Relative luminance 0.016; OKLCH L 25.2% C 0.019 H 303.2°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#24202A
RGBrgb(36, 32, 42)
HSLhsl(264, 14%, 15%)
HSVhsv(264, 24%, 16%)
CMYKcmyk(14.3%, 23.8%, 0%, 83.5%)
CIE-LABlab(13.08, 4.43, -5.99)
CIE-LCHlch(13.08, 7.45, 306.51°)
OKLaboklab(25.24% 0.0107 -0.0162)
OKLCHoklch(25.24% 0.019 303.2)
XYZxyz(1.6619, 1.5753, 2.4065)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24202A #262A20
analogous
#20212A #24202A #29202A
triadic
#24202A #2A2420 #202A24
tetradic
#24202A #2A2021 #262A20 #202A29
square
#24202A #2A2021 #262A20 #202A29
split-complementary
#24202A #2A2920 #212A20
monochromatic
#0F0D11 #0F0D11 #24202A #423A4D #60556F

Accessibility & contrast

On white

15.97
#24202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#24202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24202A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24202A#FFFFFF#000000##FFFFFF
##24202A1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222A
Deuteranopia (green-blind)
#1F222A
Tritanopia (blue-blind)
#232123
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #24202a;
/* rgb */ color: rgb(36, 32, 42);
/* oklch */ color: oklch(25.2% 0.019 303.2);
Tailwind
colors: {
  custom: {
    50: '#5e5b63',
    500: '#24202a',
    950: '#000000',
  },
}
SCSS
$custom: #24202a;
$custom-light: #5e5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#24202a",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 264,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25237,
    "c": 0.01943,
    "h": 303.2
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#24202A
secondary
#545B4B
accent
#B6719B
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #24202A

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

Preview Lab → · Contrast checker → · Palette generator →

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