#240729#240729

#240729 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.073 H 321.5°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#240729
RGBrgb(36, 7, 41)
HSLhsl(291, 71%, 9%)
HSVhsv(291, 83%, 16%)
CMYKcmyk(12.2%, 82.9%, 0%, 83.9%)
CIE-LABlab(6.21, 20.82, -15.91)
CIE-LCHlch(6.21, 26.20, 322.62°)
OKLaboklab(19.94% 0.0568 -0.0451)
OKLCHoklch(19.94% 0.073 321.5)
XYZxyz(1.2037, 0.6872, 2.1666)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240729 #0C2907
analogous
#130729 #240729 #29071D
triadic
#240729 #292407 #072924
tetradic
#240729 #291307 #0C2907 #071D29
square
#240729 #291307 #0C2907 #071D29
split-complementary
#240729 #1D2907 #072913
monochromatic
#17041A #17041A #240729 #52105D #801992

Accessibility & contrast

On white

18.46
#240729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240729
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240729#FFFFFF#000000##FFFFFF
##2407291.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122A
Deuteranopia (green-blind)
#0B1528
Tritanopia (blue-blind)
#240D16
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240729;
/* rgb */ color: rgb(36, 7, 41);
/* oklch */ color: oklch(19.9% 0.073 321.5);
Tailwind
colors: {
  custom: {
    50: '#604963',
    500: '#240729',
    950: '#000000',
  },
}
SCSS
$custom: #240729;
$custom-light: #604963;
$custom-dark: #000000;
JSON
{
  "hex": "#240729",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 291.176,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.07252,
    "h": 321.5
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#240729
secondary
#2D6923
accent
#EE3A55
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #240729

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

Preview Lab → · Contrast checker → · Palette generator →

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