#24182C#24182C

#24182C is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.4% C 0.041 H 311.0°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#24182C
RGBrgb(36, 24, 44)
HSLhsl(276, 29%, 13%)
HSVhsv(276, 45%, 17%)
CMYKcmyk(18.2%, 45.5%, 0%, 82.7%)
CIE-LABlab(10.63, 10.86, -11.20)
CIE-LCHlch(10.63, 15.60, 314.12°)
OKLaboklab(23.39% 0.0269 -0.0309)
OKLCHoklch(23.39% 0.041 311)
XYZxyz(1.5087, 1.2102, 2.5365)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24182C #202C18
analogous
#1A182C #24182C #2C182A
triadic
#24182C #2C2418 #182C24
tetradic
#24182C #2C1A18 #202C18 #182A2C
square
#24182C #2C1A18 #202C18 #182A2C
split-complementary
#24182C #2A2C18 #182C1A
monochromatic
#100B14 #100B14 #24182C #442E54 #65437B

Accessibility & contrast

On white

16.91
#24182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#24182C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24182C
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24182C#FFFFFF#000000##FFFFFF
##24182C1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2D
Deuteranopia (green-blind)
#171D2B
Tritanopia (blue-blind)
#231B1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24182c;
/* rgb */ color: rgb(36, 24, 44);
/* oklch */ color: oklch(23.4% 0.041 311.0);
Tailwind
colors: {
  custom: {
    50: '#5f5565',
    500: '#24182c',
    950: '#000000',
  },
}
SCSS
$custom: #24182c;
$custom-light: #5f5565;
$custom-dark: #000000;
JSON
{
  "hex": "#24182c",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 276,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23393,
    "c": 0.04095,
    "h": 311
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#24182C
secondary
#4D603F
accent
#C6628A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040305
muted
#79787A

Preview Lab

Preview with #24182C

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

Preview Lab → · Contrast checker → · Palette generator →

#24182C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva