#24182E#24182E

#24182E is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.5% C 0.044 H 308.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#24182E
RGBrgb(36, 24, 46)
HSLhsl(273, 31%, 14%)
HSVhsv(273, 48%, 18%)
CMYKcmyk(21.7%, 47.8%, 0%, 82%)
CIE-LABlab(10.74, 11.44, -12.49)
CIE-LCHlch(10.74, 16.94, 312.48°)
OKLaboklab(23.52% 0.0274 -0.0346)
OKLCHoklch(23.52% 0.044 308.4)
XYZxyz(1.5472, 1.2256, 2.7393)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24182E #222E18
analogous
#19182E #24182E #2E182D
triadic
#24182E #2E2418 #182E24
tetradic
#24182E #2E1918 #222E18 #182D2E
square
#24182E #2E1918 #222E18 #182D2E
split-complementary
#24182E #2D2E18 #182E19
monochromatic
#100A14 #100A14 #24182E #432D56 #63427E

Accessibility & contrast

On white

16.86
#24182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#24182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24182E
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24182E#FFFFFF#000000##FFFFFF
##24182E1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#231B20
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24182e;
/* rgb */ color: rgb(36, 24, 46);
/* oklch */ color: oklch(23.5% 0.044 308.4);
Tailwind
colors: {
  custom: {
    50: '#5f5566',
    500: '#24182e',
    950: '#000000',
  },
}
SCSS
$custom: #24182e;
$custom-light: #5f5566;
$custom-dark: #000000;
JSON
{
  "hex": "#24182e",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 272.727,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23516,
    "c": 0.04415,
    "h": 308.4
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#24182E
secondary
#4F633F
accent
#C8608F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040306
muted
#79787A

Preview Lab

Preview with #24182E

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

Preview Lab → · Contrast checker → · Palette generator →

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