#240029#240029

#240029 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.7% C 0.088 H 322.9°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#240029
RGBrgb(36, 0, 41)
HSLhsl(293, 100%, 8%)
HSVhsv(293, 100%, 16%)
CMYKcmyk(12.2%, 100%, 0%, 83.9%)
CIE-LABlab(4.83, 24.24, -18.06)
CIE-LCHlch(4.83, 30.23, 323.31°)
OKLaboklab(18.7% 0.0705 -0.0533)
OKLCHoklch(18.7% 0.088 322.9)
XYZxyz(1.1278, 0.5352, 2.1413)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240029 #052900
analogous
#0F0029 #240029 #290019
triadic
#240029 #292400 #002924
tetradic
#240029 #290F00 #052900 #001929
square
#240029 #290F00 #052900 #001929
split-complementary
#240029 #192900 #00290F
monochromatic
#1B001F #1B001F #240029 #5A0066 #8F00A3

Accessibility & contrast

On white

18.97
#240029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#240029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240029
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240029#FFFFFF#000000##FFFFFF
##2400291.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2A
Deuteranopia (green-blind)
#051228
Tritanopia (blue-blind)
#250614
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #240029;
/* rgb */ color: rgb(36, 0, 41);
/* oklch */ color: oklch(18.7% 0.088 322.9);
Tailwind
colors: {
  custom: {
    50: '#604663',
    500: '#240029',
    950: '#000000',
  },
}
SCSS
$custom: #240029;
$custom-light: #604663;
$custom-dark: #000000;
JSON
{
  "hex": "#240029",
  "rgb": {
    "r": 36,
    "g": 0,
    "b": 41
  },
  "hsl": {
    "h": 292.683,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18695,
    "c": 0.08837,
    "h": 322.9
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#240029
secondary
#1F7114
accent
#FF2943
background
#F5F3F5
surface
#EAE5EA
border
#C6C1C6
text
#050005
muted
#797679

Preview Lab

Preview with #240029

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

Preview Lab → · Contrast checker → · Palette generator →

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