#24012E#24012E

#24012E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.091 H 317.7°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#24012E
RGBrgb(36, 1, 46)
HSLhsl(287, 96%, 9%)
HSVhsv(287, 98%, 18%)
CMYKcmyk(21.7%, 97.8%, 0%, 82%)
CIE-LABlab(5.37, 25.34, -21.00)
CIE-LCHlch(5.37, 32.91, 320.34°)
OKLaboklab(19.34% 0.067 -0.061)
OKLCHoklch(19.34% 0.091 317.7)
XYZxyz(1.2315, 0.5941, 2.6340)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24012E #0B2E01
analogous
#0E012E #24012E #2E0122
triadic
#24012E #2E2401 #012E24
tetradic
#24012E #2E0E01 #0B2E01 #01222E
square
#24012E #2E0E01 #0B2E01 #01222E
split-complementary
#24012E #222E01 #012E0E
monochromatic
#17011E #17011E #24012E #53026A #8204A6

Accessibility & contrast

On white

18.77
#24012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24012E
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24012E#FFFFFF#000000##FFFFFF
##24012E1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#02132D
Tritanopia (blue-blind)
#240A17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #24012e;
/* rgb */ color: rgb(36, 1, 46);
/* oklch */ color: oklch(19.3% 0.091 317.7);
Tailwind
colors: {
  custom: {
    50: '#614667',
    500: '#24012e',
    950: '#000000',
  },
}
SCSS
$custom: #24012e;
$custom-light: #614667;
$custom-dark: #000000;
JSON
{
  "hex": "#24012e",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 286.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19337,
    "c": 0.09065,
    "h": 317.7
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#24012E
secondary
#2C7417
accent
#FF2958
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #24012E

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

Preview Lab → · Contrast checker → · Palette generator →

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