#240720#240720

#240720 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.063 H 333.5°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#240720
RGBrgb(36, 7, 32)
HSLhsl(308, 67%, 8%)
HSVhsv(308, 81%, 14%)
CMYKcmyk(0%, 80.6%, 11.1%, 85.9%)
CIE-LABlab(5.70, 18.31, -9.79)
CIE-LCHlch(5.70, 20.76, 331.87°)
OKLaboklab(19.3% 0.0561 -0.028)
OKLCHoklch(19.3% 0.063 333.5)
XYZxyz(1.0642, 0.6314, 1.4320)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240720 #07240B
analogous
#190724 #240720 #240711
triadic
#240720 #202407 #072024
tetradic
#240720 #241907 #07240B #071124
square
#240720 #241907 #07240B #071124
split-complementary
#240720 #112407 #072419
monochromatic
#1A0517 #1A0517 #240720 #57114E #8A1B7B

Accessibility & contrast

On white

18.65
#240720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240720
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240720#FFFFFF#000000##FFFFFF
##2407201.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061021
Deuteranopia (green-blind)
#10141F
Tritanopia (blue-blind)
#260912
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240720;
/* rgb */ color: rgb(36, 7, 32);
/* oklch */ color: oklch(19.3% 0.063 333.5);
Tailwind
colors: {
  custom: {
    50: '#5f495b',
    500: '#240720',
    950: '#000000',
  },
}
SCSS
$custom: #240720;
$custom-light: #5f495b;
$custom-dark: #000000;
JSON
{
  "hex": "#240720",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 308.276,
    "s": 67.442,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19299,
    "c": 0.06271,
    "h": 333.5
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#240720
secondary
#24632C
accent
#EA553D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240720

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

Preview Lab → · Contrast checker → · Palette generator →

#240720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva