#240722#240722

#240722 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.065 H 330.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#240722
RGBrgb(36, 7, 34)
HSLhsl(304, 67%, 8%)
HSVhsv(304, 81%, 14%)
CMYKcmyk(0%, 80.6%, 5.6%, 85.9%)
CIE-LABlab(5.80, 18.85, -11.18)
CIE-LCHlch(5.80, 21.92, 329.32°)
OKLaboklab(19.43% 0.0564 -0.0319)
OKLCHoklch(19.43% 0.065 330.5)
XYZxyz(1.0923, 0.6426, 1.5796)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240722 #072409
analogous
#170724 #240722 #240713
triadic
#240722 #222407 #072224
tetradic
#240722 #241707 #072409 #071324
square
#240722 #241707 #072409 #071324
split-complementary
#240722 #132407 #072417
monochromatic
#1A0518 #1A0518 #240722 #571152 #8A1B83

Accessibility & contrast

On white

18.61
#240722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240722
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240722#FFFFFF#000000##FFFFFF
##2407221.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051023
Deuteranopia (green-blind)
#0F1421
Tritanopia (blue-blind)
#260A13
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240722;
/* rgb */ color: rgb(36, 7, 34);
/* oklch */ color: oklch(19.4% 0.065 330.5);
Tailwind
colors: {
  custom: {
    50: '#5f495d',
    500: '#240722',
    950: '#000000',
  },
}
SCSS
$custom: #240722;
$custom-light: #5f495d;
$custom-dark: #000000;
JSON
{
  "hex": "#240722",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 304.138,
    "s": 67.442,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19432,
    "c": 0.06479,
    "h": 330.5
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#240722
secondary
#246328
accent
#EA493D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #240722

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

Preview Lab → · Contrast checker → · Palette generator →

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