#240432#240432

#240432 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.089 H 313.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#240432
RGBrgb(36, 4, 50)
HSLhsl(282, 85%, 11%)
HSVhsv(282, 92%, 20%)
CMYKcmyk(28%, 92%, 0%, 80.4%)
CIE-LABlab(6.25, 25.07, -22.57)
CIE-LCHlch(6.25, 33.73, 318.00°)
OKLaboklab(20.22% 0.0606 -0.0646)
OKLCHoklch(20.22% 0.089 313.2)
XYZxyz(1.3466, 0.6922, 3.0797)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240432 #123204
analogous
#0D0432 #240432 #320429
triadic
#240432 #322404 #043224
tetradic
#240432 #320D04 #123204 #042932
square
#240432 #320D04 #123204 #042932
split-complementary
#240432 #293204 #04320D
monochromatic
#14021C #14021C #240432 #4D096B #760DA3

Accessibility & contrast

On white

18.45
#240432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240432
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240432#FFFFFF#000000##FFFFFF
##2404321.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#011531
Tritanopia (blue-blind)
#220E1A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240432;
/* rgb */ color: rgb(36, 4, 50);
/* oklch */ color: oklch(20.2% 0.089 313.2);
Tailwind
colors: {
  custom: {
    50: '#61486a',
    500: '#240432',
    950: '#000000',
  },
}
SCSS
$custom: #240432;
$custom-light: #61486a;
$custom-dark: #000000;
JSON
{
  "hex": "#240432",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 281.739,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20219,
    "c": 0.08855,
    "h": 313.2
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#240432
secondary
#38741D
accent
#FB2C6B
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240432

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

Preview Lab → · Contrast checker → · Palette generator →

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