#24062A#24062A

#24062A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.076 H 320.6°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#24062A
RGBrgb(36, 6, 42)
HSLhsl(290, 75%, 9%)
HSVhsv(290, 86%, 16%)
CMYKcmyk(14.3%, 85.7%, 0%, 83.5%)
CIE-LABlab(6.07, 21.62, -16.87)
CIE-LCHlch(6.07, 27.42, 322.02°)
OKLaboklab(19.85% 0.0585 -0.0481)
OKLCHoklch(19.85% 0.076 320.6)
XYZxyz(1.2105, 0.6725, 2.2561)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24062A #0C2A06
analogous
#12062A #24062A #2A061E
triadic
#24062A #2A2406 #062A24
tetradic
#24062A #2A1206 #0C2A06 #061E2A
square
#24062A #2A1206 #0C2A06 #061E2A
split-complementary
#24062A #1E2A06 #062A12
monochromatic
#17041B #17041B #24062A #520E60 #801595

Accessibility & contrast

On white

18.51
#24062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#24062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24062A
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24062A#FFFFFF#000000##FFFFFF
##24062A1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#091529
Tritanopia (blue-blind)
#240C17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #24062a;
/* rgb */ color: rgb(36, 6, 42);
/* oklch */ color: oklch(19.9% 0.076 320.6);
Tailwind
colors: {
  custom: {
    50: '#604963',
    500: '#24062a',
    950: '#000000',
  },
}
SCSS
$custom: #24062a;
$custom-light: #604963;
$custom-dark: #000000;
JSON
{
  "hex": "#24062a",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 290,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19854,
    "c": 0.07571,
    "h": 320.6
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#24062A
secondary
#2D6B21
accent
#F23655
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #24062A

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

Preview Lab → · Contrast checker → · Palette generator →

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