#240E25#240E25

#240E25 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.9% C 0.054 H 325.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#240E25
RGBrgb(36, 14, 37)
HSLhsl(297, 45%, 10%)
HSVhsv(297, 62%, 15%)
CMYKcmyk(2.7%, 62.2%, 0%, 85.5%)
CIE-LABlab(7.43, 16.02, -10.96)
CIE-LCHlch(7.43, 19.41, 325.61°)
OKLaboklab(20.85% 0.0442 -0.0302)
OKLCHoklch(20.85% 0.054 325.7)
XYZxyz(1.2185, 0.8228, 1.8445)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E25 #0F250E
analogous
#180E25 #240E25 #250E1B
triadic
#240E25 #25240E #0E2524
tetradic
#240E25 #25180E #0F250E #0E1B25
square
#240E25 #25180E #0F250E #0E1B25
split-complementary
#240E25 #1B250E #0E2518
monochromatic
#160816 #160816 #240E25 #4F1F51 #7A307E

Accessibility & contrast

On white

18.03
#240E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240E25
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E25#FFFFFF#000000##FFFFFF
##240E251.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1526
Deuteranopia (green-blind)
#121724
Tritanopia (blue-blind)
#251117
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240e25;
/* rgb */ color: rgb(36, 14, 37);
/* oklch */ color: oklch(20.9% 0.054 325.7);
Tailwind
colors: {
  custom: {
    50: '#5f4d5f',
    500: '#240e25',
    950: '#000000',
  },
}
SCSS
$custom: #240e25;
$custom-light: #5f4d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#240e25",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 37
  },
  "hsl": {
    "h": 297.391,
    "s": 45.098,
    "l": 10
  },
  "oklch": {
    "l": 0.20852,
    "c": 0.05354,
    "h": 325.7
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#240E25
secondary
#335E31
accent
#D55359
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240E25

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

Preview Lab → · Contrast checker → · Palette generator →

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