#240E29#240E29

#240E29 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 21.1% C 0.059 H 319.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#240E29
RGBrgb(36, 14, 41)
HSLhsl(289, 49%, 11%)
HSVhsv(289, 66%, 16%)
CMYKcmyk(12.2%, 65.9%, 0%, 83.9%)
CIE-LABlab(7.67, 17.07, -13.61)
CIE-LCHlch(7.67, 21.83, 321.45°)
OKLaboklab(21.12% 0.0449 -0.0378)
OKLCHoklch(21.12% 0.059 319.9)
XYZxyz(1.2848, 0.8493, 2.1936)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E29 #13290E
analogous
#160E29 #240E29 #290E20
triadic
#240E29 #29240E #0E2924
tetradic
#240E29 #29160E #13290E #0E2029
square
#240E29 #29160E #13290E #0E2029
split-complementary
#240E29 #20290E #0E2916
monochromatic
#140817 #140817 #240E29 #4C1E57 #742D84

Accessibility & contrast

On white

17.95
#240E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240E29
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E29#FFFFFF#000000##FFFFFF
##240E291.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09152A
Deuteranopia (green-blind)
#101828
Tritanopia (blue-blind)
#241219
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #240e29;
/* rgb */ color: rgb(36, 14, 41);
/* oklch */ color: oklch(21.1% 0.059 319.9);
Tailwind
colors: {
  custom: {
    50: '#5f4d63',
    500: '#240e29',
    950: '#000000',
  },
}
SCSS
$custom: #240e29;
$custom-light: #5f4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#240e29",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 288.889,
    "s": 49.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21117,
    "c": 0.05869,
    "h": 319.9
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#240E29
secondary
#3A6330
accent
#D94F69
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #240E29

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

Preview Lab → · Contrast checker → · Palette generator →

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