#24112F#24112F

#24112F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.061 H 311.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#24112F
RGBrgb(36, 17, 47)
HSLhsl(278, 47%, 13%)
HSVhsv(278, 64%, 18%)
CMYKcmyk(23.4%, 63.8%, 0%, 81.6%)
CIE-LABlab(8.83, 16.71, -16.23)
CIE-LCHlch(8.83, 23.29, 315.83°)
OKLaboklab(22.11% 0.0404 -0.0454)
OKLCHoklch(22.11% 0.061 311.6)
XYZxyz(1.4410, 0.9812, 2.8023)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24112F #1C2F11
analogous
#15112F #24112F #2F112B
triadic
#24112F #2F2411 #112F24
tetradic
#24112F #2F1511 #1C2F11 #112B2F
square
#24112F #2F1511 #1C2F11 #112B2F
split-complementary
#24112F #2B2F11 #112F15
monochromatic
#110816 #110816 #24112F #46215C #693289

Accessibility & contrast

On white

17.56
#24112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#24112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24112F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24112F#FFFFFF#000000##FFFFFF
##24112F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#0F1A2E
Tritanopia (blue-blind)
#23161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #24112f;
/* rgb */ color: rgb(36, 17, 47);
/* oklch */ color: oklch(22.1% 0.061 311.6);
Tailwind
colors: {
  custom: {
    50: '#604f67',
    500: '#24112f',
    950: '#000000',
  },
}
SCSS
$custom: #24112f;
$custom-light: #604f67;
$custom-dark: #000000;
JSON
{
  "hex": "#24112f",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 278,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22108,
    "c": 0.06075,
    "h": 311.6
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#24112F
secondary
#476734
accent
#D75182
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #24112F

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

Preview Lab → · Contrast checker → · Palette generator →

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