#240E22#240E22

#240E22 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.7% C 0.050 H 330.6°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#240E22
RGBrgb(36, 14, 34)
HSLhsl(305, 44%, 10%)
HSVhsv(305, 61%, 14%)
CMYKcmyk(0%, 61.1%, 5.6%, 85.9%)
CIE-LABlab(7.27, 15.26, -8.94)
CIE-LCHlch(7.27, 17.68, 329.65°)
OKLaboklab(20.67% 0.0435 -0.0244)
OKLCHoklch(20.67% 0.05 330.6)
XYZxyz(1.1733, 0.8047, 1.6066)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E22 #0E2410
analogous
#1B0E24 #240E22 #240E17
triadic
#240E22 #22240E #0E2224
tetradic
#240E22 #241B0E #0E2410 #0E1724
square
#240E22 #241B0E #0E2410 #0E1724
split-complementary
#240E22 #17240E #0E241B
monochromatic
#160915 #160915 #240E22 #501F4C #7C3075

Accessibility & contrast

On white

18.09
#240E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240E22
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E22#FFFFFF#000000##FFFFFF
##240E221.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1423
Deuteranopia (green-blind)
#131721
Tritanopia (blue-blind)
#261016
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240e22;
/* rgb */ color: rgb(36, 14, 34);
/* oklch */ color: oklch(20.7% 0.050 330.6);
Tailwind
colors: {
  custom: {
    50: '#5f4d5d',
    500: '#240e22',
    950: '#000000',
  },
}
SCSS
$custom: #240e22;
$custom-light: #5f4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#240e22",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 305.455,
    "s": 44,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20668,
    "c": 0.04988,
    "h": 330.6
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#240E22
secondary
#315D35
accent
#D46054
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #240E22

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

Preview Lab → · Contrast checker → · Palette generator →

#240E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva