#24012D#24012D

#24012D is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.090 H 318.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#24012D
RGBrgb(36, 1, 45)
HSLhsl(288, 96%, 9%)
HSVhsv(288, 98%, 18%)
CMYKcmyk(20%, 97.8%, 0%, 82.4%)
CIE-LABlab(5.30, 25.02, -20.36)
CIE-LCHlch(5.30, 32.26, 320.86°)
OKLaboklab(19.24% 0.0673 -0.0592)
OKLCHoklch(19.24% 0.09 318.7)
XYZxyz(1.2120, 0.5863, 2.5314)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24012D #0A2D01
analogous
#0E012D #24012D #2D0120
triadic
#24012D #2D2401 #012D24
tetradic
#24012D #2D0E01 #0A2D01 #01202D
square
#24012D #2D0E01 #0A2D01 #01202D
split-complementary
#24012D #202D01 #012D0E
monochromatic
#18011E #18011E #24012D #540269 #8404A5

Accessibility & contrast

On white

18.80
#24012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#24012D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24012D
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24012D#FFFFFF#000000##FFFFFF
##24012D1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#03132C
Tritanopia (blue-blind)
#240916
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #24012d;
/* rgb */ color: rgb(36, 1, 45);
/* oklch */ color: oklch(19.2% 0.090 318.7);
Tailwind
colors: {
  custom: {
    50: '#604666',
    500: '#24012d',
    950: '#000000',
  },
}
SCSS
$custom: #24012d;
$custom-light: #604666;
$custom-dark: #000000;
JSON
{
  "hex": "#24012d",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 287.727,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19244,
    "c": 0.08969,
    "h": 318.7
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#24012D
secondary
#2A7317
accent
#FF2955
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #24012D

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

Preview Lab → · Contrast checker → · Palette generator →

#24012D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva