#240C25#240C25

#240C25 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.5% C 0.058 H 325.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#240C25
RGBrgb(36, 12, 37)
HSLhsl(298, 51%, 10%)
HSVhsv(298, 68%, 15%)
CMYKcmyk(2.7%, 67.6%, 0%, 85.5%)
CIE-LABlab(6.97, 17.19, -11.68)
CIE-LCHlch(6.97, 20.78, 325.80°)
OKLaboklab(20.49% 0.0479 -0.0324)
OKLCHoklch(20.49% 0.058 325.9)
XYZxyz(1.1929, 0.7716, 1.8360)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240C25 #0D250C
analogous
#180C25 #240C25 #250C1A
triadic
#240C25 #25240C #0C2524
tetradic
#240C25 #25180C #0D250C #0C1A25
square
#240C25 #25180C #0D250C #0C1A25
split-complementary
#240C25 #1A250C #0C2518
monochromatic
#160717 #160717 #240C25 #511B53 #7E2A81

Accessibility & contrast

On white

18.19
#240C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240C25
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240C25#FFFFFF#000000##FFFFFF
##240C251.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091326
Deuteranopia (green-blind)
#111624
Tritanopia (blue-blind)
#250F16
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240c25;
/* rgb */ color: rgb(36, 12, 37);
/* oklch */ color: oklch(20.5% 0.058 325.9);
Tailwind
colors: {
  custom: {
    50: '#5f4c5f',
    500: '#240c25',
    950: '#000000',
  },
}
SCSS
$custom: #240c25;
$custom-light: #5f4c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#240c25",
  "rgb": {
    "r": 36,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 297.6,
    "s": 51.02,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20486,
    "c": 0.0578,
    "h": 325.9
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#240C25
secondary
#2F602D
accent
#DA4D53
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240C25

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

Preview Lab → · Contrast checker → · Palette generator →

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