#240E2F#240E2F

#240E2F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.067 H 312.9°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#240E2F
RGBrgb(36, 14, 47)
HSLhsl(280, 54%, 12%)
HSVhsv(280, 70%, 18%)
CMYKcmyk(23.4%, 70.2%, 0%, 81.6%)
CIE-LABlab(8.08, 18.71, -17.43)
CIE-LCHlch(8.08, 25.57, 317.02°)
OKLaboklab(21.55% 0.0455 -0.0489)
OKLCHoklch(21.55% 0.067 312.9)
XYZxyz(1.3976, 0.8944, 2.7878)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E2F #192F0E
analogous
#140E2F #240E2F #2F0E2A
triadic
#240E2F #2F240E #0E2F24
tetradic
#240E2F #2F140E #192F0E #0E2A2F
square
#240E2F #2F140E #192F0E #0E2A2F
split-complementary
#240E2F #2A2F0E #0E2F14
monochromatic
#120718 #120718 #240E2F #481C5E #6C2A8D

Accessibility & contrast

On white

17.81
#240E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240E2F
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E2F#FFFFFF#000000##FFFFFF
##240E2F1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#23141C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #240e2f;
/* rgb */ color: rgb(36, 14, 47);
/* oklch */ color: oklch(21.6% 0.067 312.9);
Tailwind
colors: {
  custom: {
    50: '#604d67',
    500: '#240e2f',
    950: '#000000',
  },
}
SCSS
$custom: #240e2f;
$custom-light: #604d67;
$custom-dark: #000000;
JSON
{
  "hex": "#240e2f",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.06674,
    "h": 312.9
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#240E2F
secondary
#43692F
accent
#DD4A7B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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