#24082E#24082E

#24082E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.076 H 315.8°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#24082E
RGBrgb(36, 8, 46)
HSLhsl(284, 70%, 11%)
HSVhsv(284, 83%, 18%)
CMYKcmyk(21.7%, 82.6%, 0%, 82%)
CIE-LABlab(6.74, 21.79, -18.82)
CIE-LCHlch(6.74, 28.80, 319.18°)
OKLaboklab(20.51% 0.0548 -0.0533)
OKLCHoklch(20.51% 0.076 315.8)
XYZxyz(1.3075, 0.7460, 2.6594)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24082E #122E08
analogous
#11082E #24082E #2E0825
triadic
#24082E #2E2408 #082E24
tetradic
#24082E #2E1108 #122E08 #08252E
square
#24082E #2E1108 #122E08 #08252E
split-complementary
#24082E #252E08 #082E11
monochromatic
#14051A #14051A #24082E #4D1162 #761A96

Accessibility & contrast

On white

18.27
#24082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#24082E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24082E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24082E#FFFFFF#000000##FFFFFF
##24082E1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#230F1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #24082e;
/* rgb */ color: rgb(36, 8, 46);
/* oklch */ color: oklch(20.5% 0.076 315.8);
Tailwind
colors: {
  custom: {
    50: '#604a67',
    500: '#24082e',
    950: '#000000',
  },
}
SCSS
$custom: #24082e;
$custom-light: #604a67;
$custom-dark: #000000;
JSON
{
  "hex": "#24082e",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 284.211,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20506,
    "c": 0.07644,
    "h": 315.8
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#24082E
secondary
#386D25
accent
#ED3B6A
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #24082E

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

Preview Lab → · Contrast checker → · Palette generator →

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