#24122E#24122E

#24122E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.2% C 0.057 H 312.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#24122E
RGBrgb(36, 18, 46)
HSLhsl(279, 44%, 13%)
HSVhsv(279, 61%, 18%)
CMYKcmyk(21.7%, 60.9%, 0%, 82%)
CIE-LABlab(9.03, 15.73, -15.18)
CIE-LCHlch(9.03, 21.86, 316.02°)
OKLaboklab(22.23% 0.0385 -0.0423)
OKLCHoklch(22.23% 0.057 312.3)
XYZxyz(1.4369, 1.0050, 2.7025)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24122E #1C2E12
analogous
#16122E #24122E #2E122A
triadic
#24122E #2E2412 #122E24
tetradic
#24122E #2E1612 #1C2E12 #122A2E
square
#24122E #2E1612 #1C2E12 #122A2E
split-complementary
#24122E #2A2E12 #122E16
monochromatic
#110916 #110916 #24122E #46235A #693486

Accessibility & contrast

On white

17.49
#24122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#24122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24122E
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24122E#FFFFFF#000000##FFFFFF
##24122E1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B192F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#23161D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #24122e;
/* rgb */ color: rgb(36, 18, 46);
/* oklch */ color: oklch(22.2% 0.057 312.3);
Tailwind
colors: {
  custom: {
    50: '#5f5067',
    500: '#24122e',
    950: '#000000',
  },
}
SCSS
$custom: #24122e;
$custom-light: #5f5067;
$custom-dark: #000000;
JSON
{
  "hex": "#24122e",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 278.571,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22233,
    "c": 0.05721,
    "h": 312.3
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#24122E
secondary
#476636
accent
#D35482
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #24122E

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

Preview Lab → · Contrast checker → · Palette generator →

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