#240E2E#240E2E

#240E2E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.065 H 314.0°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#240E2E
RGBrgb(36, 14, 46)
HSLhsl(281, 53%, 12%)
HSVhsv(281, 70%, 18%)
CMYKcmyk(21.7%, 69.6%, 0%, 82%)
CIE-LABlab(8.01, 18.43, -16.81)
CIE-LCHlch(8.01, 24.94, 317.64°)
OKLaboklab(21.48% 0.0454 -0.047)
OKLCHoklch(21.48% 0.065 314)
XYZxyz(1.3777, 0.8864, 2.6828)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E2E #182E0E
analogous
#140E2E #240E2E #2E0E28
triadic
#240E2E #2E240E #0E2E24
tetradic
#240E2E #2E140E #182E0E #0E282E
square
#240E2E #2E140E #182E0E #0E282E
split-complementary
#240E2E #282E0E #0E2E14
monochromatic
#120717 #120717 #240E2E #491C5D #6D2B8C

Accessibility & contrast

On white

17.84
#240E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#240E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240E2E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E2E#FFFFFF#000000##FFFFFF
##240E2E1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#23131C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #240e2e;
/* rgb */ color: rgb(36, 14, 46);
/* oklch */ color: oklch(21.5% 0.065 314.0);
Tailwind
colors: {
  custom: {
    50: '#604d67',
    500: '#240e2e',
    950: '#000000',
  },
}
SCSS
$custom: #240e2e;
$custom-light: #604d67;
$custom-dark: #000000;
JSON
{
  "hex": "#240e2e",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 281.25,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21478,
    "c": 0.06539,
    "h": 314
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#240E2E
secondary
#416830
accent
#DD4B79
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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