#240E2B#240E2B

#240E2B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.3% C 0.061 H 317.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#240E2B
RGBrgb(36, 14, 43)
HSLhsl(286, 51%, 11%)
HSVhsv(286, 67%, 17%)
CMYKcmyk(16.3%, 67.4%, 0%, 83.1%)
CIE-LABlab(7.80, 17.61, -14.90)
CIE-LCHlch(7.80, 23.07, 319.77°)
OKLaboklab(21.26% 0.0452 -0.0415)
OKLCHoklch(21.26% 0.061 317.4)
XYZxyz(1.3206, 0.8636, 2.3822)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E2B #152B0E
analogous
#150E2B #240E2B #2B0E23
triadic
#240E2B #2B240E #0E2B24
tetradic
#240E2B #2B150E #152B0E #0E232B
square
#240E2B #2B150E #152B0E #0E232B
split-complementary
#240E2B #232B0E #0E2B15
monochromatic
#130817 #130817 #240E2B #4B1D59 #712C87

Accessibility & contrast

On white

17.91
#240E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240E2B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E2B#FFFFFF#000000##FFFFFF
##240E2B1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162C
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#24121A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #240e2b;
/* rgb */ color: rgb(36, 14, 43);
/* oklch */ color: oklch(21.3% 0.061 317.4);
Tailwind
colors: {
  custom: {
    50: '#604d64',
    500: '#240e2b',
    950: '#000000',
  },
}
SCSS
$custom: #240e2b;
$custom-light: #604d64;
$custom-dark: #000000;
JSON
{
  "hex": "#240e2b",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 285.517,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21258,
    "c": 0.06135,
    "h": 317.4
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#240E2B
secondary
#3D6530
accent
#DA4D6F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #240E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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