#24022C#24022C

#24022C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.086 H 319.4°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#24022C
RGBrgb(36, 2, 44)
HSLhsl(289, 91%, 9%)
HSVhsv(289, 95%, 17%)
CMYKcmyk(18.2%, 95.5%, 0%, 82.7%)
CIE-LABlab(5.42, 24.21, -19.41)
CIE-LCHlch(5.42, 31.03, 321.28°)
OKLaboklab(19.33% 0.0656 -0.0563)
OKLCHoklch(19.33% 0.086 319.4)
XYZxyz(1.2038, 0.6004, 2.4349)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24022C #0A2C02
analogous
#0F022C #24022C #2C021F
triadic
#24022C #2C2402 #022C24
tetradic
#24022C #2C0F02 #0A2C02 #021F2C
square
#24022C #2C0F02 #0A2C02 #021F2C
split-complementary
#24022C #1F2C02 #022C0F
monochromatic
#18011D #18011D #24022C #540567 #8407A1

Accessibility & contrast

On white

18.75
#24022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#24022C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24022C
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24022C#FFFFFF#000000##FFFFFF
##24022C1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#240A16
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #24022c;
/* rgb */ color: rgb(36, 2, 44);
/* oklch */ color: oklch(19.3% 0.086 319.4);
Tailwind
colors: {
  custom: {
    50: '#604765',
    500: '#24022c',
    950: '#000000',
  },
}
SCSS
$custom: #24022c;
$custom-light: #604765;
$custom-dark: #000000;
JSON
{
  "hex": "#24022c",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 288.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19331,
    "c": 0.08644,
    "h": 319.4
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#24022C
secondary
#2A7119
accent
#FF2952
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #24022C

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

Preview Lab → · Contrast checker → · Palette generator →

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