#24002A#24002A

#24002A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.8% C 0.089 H 321.9°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#24002A
RGBrgb(36, 0, 42)
HSLhsl(291, 100%, 8%)
HSVhsv(291, 100%, 16%)
CMYKcmyk(14.3%, 100%, 0%, 83.5%)
CIE-LABlab(4.90, 24.55, -18.72)
CIE-LCHlch(4.90, 30.88, 322.67°)
OKLaboklab(18.79% 0.0702 -0.0551)
OKLCHoklch(18.79% 0.089 321.9)
XYZxyz(1.1454, 0.5423, 2.2344)
Luminance0.0054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24002A #062A00
analogous
#0F002A #24002A #2A001B
triadic
#24002A #2A2400 #002A24
tetradic
#24002A #2A0F00 #062A00 #001B2A
square
#24002A #2A0F00 #062A00 #001B2A
split-complementary
#24002A #1B2A00 #002A0F
monochromatic
#1A001F #1A001F #24002A #580067 #8D00A4

Accessibility & contrast

On white

18.95
#24002A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#24002A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24002A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24002A#FFFFFF#000000##FFFFFF
##24002A1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#240714
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #24002a;
/* rgb */ color: rgb(36, 0, 42);
/* oklch */ color: oklch(18.8% 0.089 321.9);
Tailwind
colors: {
  custom: {
    50: '#604664',
    500: '#24002a',
    950: '#000000',
  },
}
SCSS
$custom: #24002a;
$custom-light: #604664;
$custom-dark: #000000;
JSON
{
  "hex": "#24002a",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 42
  },
  "hsl": {
    "h": 291.429,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18785,
    "c": 0.08927,
    "h": 321.9
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#24002A
secondary
#217214
accent
#FF2947
background
#F5F3F5
surface
#EAE5EA
border
#C6C1C6
text
#050005
muted
#797679

Preview Lab

Preview with #24002A

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

Preview Lab → · Contrast checker → · Palette generator →

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