#24082F#24082F

#24082F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.6% C 0.078 H 314.8°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#24082F
RGBrgb(36, 8, 47)
HSLhsl(283, 71%, 11%)
HSVhsv(283, 83%, 18%)
CMYKcmyk(23.4%, 83%, 0%, 81.6%)
CIE-LABlab(6.81, 22.09, -19.45)
CIE-LCHlch(6.81, 29.43, 318.63°)
OKLaboklab(20.59% 0.0547 -0.0551)
OKLCHoklch(20.59% 0.078 314.8)
XYZxyz(1.3274, 0.7540, 2.7644)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24082F #132F08
analogous
#10082F #24082F #2F0826
triadic
#24082F #2F2408 #082F24
tetradic
#24082F #2F1008 #132F08 #08262F
square
#24082F #2F1008 #132F08 #08262F
split-complementary
#24082F #262F08 #082F10
monochromatic
#14041A #14041A #24082F #4C1163 #741A98

Accessibility & contrast

On white

18.25
#24082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24082F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24082F#FFFFFF#000000##FFFFFF
##24082F1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#23101A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #24082f;
/* rgb */ color: rgb(36, 8, 47);
/* oklch */ color: oklch(20.6% 0.078 314.8);
Tailwind
colors: {
  custom: {
    50: '#604a68',
    500: '#24082f',
    950: '#000000',
  },
}
SCSS
$custom: #24082f;
$custom-light: #604a68;
$custom-dark: #000000;
JSON
{
  "hex": "#24082f",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 283.077,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2059,
    "c": 0.07765,
    "h": 314.8
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#24082F
secondary
#3A6E25
accent
#EE3A6D
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #24082F

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

Preview Lab → · Contrast checker → · Palette generator →

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