#24052A#24052A

#24052A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.7% C 0.078 H 320.8°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#24052A
RGBrgb(36, 5, 42)
HSLhsl(290, 79%, 9%)
HSVhsv(290, 88%, 16%)
CMYKcmyk(14.3%, 88.1%, 0%, 83.5%)
CIE-LABlab(5.88, 22.11, -17.18)
CIE-LCHlch(5.88, 28.00, 322.15°)
OKLaboklab(19.68% 0.0603 -0.0492)
OKLCHoklch(19.68% 0.078 320.8)
XYZxyz(1.1997, 0.6508, 2.2525)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24052A #0B2A05
analogous
#12052A #24052A #2A051E
triadic
#24052A #2A2405 #052A24
tetradic
#24052A #2A1205 #0B2A05 #051E2A
square
#24052A #2A1205 #0B2A05 #051E2A
split-complementary
#24052A #1E2A05 #052A12
monochromatic
#17031B #17031B #24052A #530C61 #821297

Accessibility & contrast

On white

18.58
#24052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24052A
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24052A#FFFFFF#000000##FFFFFF
##24052A1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24052a;
/* rgb */ color: rgb(36, 5, 42);
/* oklch */ color: oklch(19.7% 0.078 320.8);
Tailwind
colors: {
  custom: {
    50: '#604863',
    500: '#24052a',
    950: '#000000',
  },
}
SCSS
$custom: #24052a;
$custom-light: #604863;
$custom-dark: #000000;
JSON
{
  "hex": "#24052a",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 290.27,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19684,
    "c": 0.0778,
    "h": 320.8
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#24052A
secondary
#2C6C1F
accent
#F53352
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #24052A

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

Preview Lab → · Contrast checker → · Palette generator →

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