#240E26#240E26

#240E26 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.9% C 0.055 H 324.1°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#240E26
RGBrgb(36, 14, 38)
HSLhsl(295, 46%, 10%)
HSVhsv(295, 63%, 15%)
CMYKcmyk(5.3%, 63.2%, 0%, 85.1%)
CIE-LABlab(7.49, 16.28, -11.63)
CIE-LCHlch(7.49, 20.01, 324.45°)
OKLaboklab(20.92% 0.0444 -0.0321)
OKLCHoklch(20.92% 0.055 324.1)
XYZxyz(1.2344, 0.8291, 1.9284)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E26 #10260E
analogous
#180E26 #240E26 #260E1C
triadic
#240E26 #26240E #0E2624
tetradic
#240E26 #26180E #10260E #0E1C26
square
#240E26 #26180E #10260E #0E1C26
split-complementary
#240E26 #1C260E #0E2618
monochromatic
#150816 #150816 #240E26 #4E1E53 #792F7F

Accessibility & contrast

On white

18.01
#240E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#240E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240E26
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E26#FFFFFF#000000##FFFFFF
##240E261.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1527
Deuteranopia (green-blind)
#121725
Tritanopia (blue-blind)
#251118
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240e26;
/* rgb */ color: rgb(36, 14, 38);
/* oklch */ color: oklch(20.9% 0.055 324.1);
Tailwind
colors: {
  custom: {
    50: '#5f4d60',
    500: '#240e26',
    950: '#000000',
  },
}
SCSS
$custom: #240e26;
$custom-light: #5f4d60;
$custom-dark: #000000;
JSON
{
  "hex": "#240e26",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 295,
    "s": 46.154,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20917,
    "c": 0.0548,
    "h": 324.1
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#240E26
secondary
#355F31
accent
#D6525D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050105
muted
#797779

Preview Lab

Preview with #240E26

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

Preview Lab → · Contrast checker → · Palette generator →

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