#240E2D#240E2D

#240E2D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.064 H 315.1°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#240E2D
RGBrgb(36, 14, 45)
HSLhsl(283, 53%, 12%)
HSVhsv(283, 69%, 18%)
CMYKcmyk(20%, 68.9%, 0%, 82.4%)
CIE-LABlab(7.94, 18.16, -16.18)
CIE-LCHlch(7.94, 24.32, 318.30°)
OKLaboklab(21.4% 0.0454 -0.0452)
OKLCHoklch(21.4% 0.064 315.1)
XYZxyz(1.3582, 0.8786, 2.5802)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E2D #172D0E
analogous
#150E2D #240E2D #2D0E27
triadic
#240E2D #2D240E #0E2D24
tetradic
#240E2D #2D150E #172D0E #0E272D
square
#240E2D #2D150E #172D0E #0E272D
split-complementary
#240E2D #272D0E #0E2D15
monochromatic
#130717 #130717 #240E2D #491D5C #6F2B8A

Accessibility & contrast

On white

17.86
#240E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240E2D
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E2D#FFFFFF#000000##FFFFFF
##240E2D1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#23131B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #240e2d;
/* rgb */ color: rgb(36, 14, 45);
/* oklch */ color: oklch(21.4% 0.064 315.1);
Tailwind
colors: {
  custom: {
    50: '#604d66',
    500: '#240e2d',
    950: '#000000',
  },
}
SCSS
$custom: #240e2d;
$custom-light: #604d66;
$custom-dark: #000000;
JSON
{
  "hex": "#240e2d",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 282.581,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21403,
    "c": 0.06404,
    "h": 315.1
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#240E2D
secondary
#406730
accent
#DC4C76
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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