#240732#240732

#240732 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.083 H 312.3°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#240732
RGBrgb(36, 7, 50)
HSLhsl(280, 75%, 11%)
HSVhsv(280, 86%, 20%)
CMYKcmyk(28%, 86%, 0%, 80.4%)
CIE-LABlab(6.84, 23.50, -21.63)
CIE-LCHlch(6.84, 31.94, 317.38°)
OKLaboklab(20.69% 0.0559 -0.0614)
OKLCHoklch(20.69% 0.083 312.3)
XYZxyz(1.3792, 0.7574, 3.0905)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240732 #153207
analogous
#0E0732 #240732 #32072A
triadic
#240732 #322407 #073224
tetradic
#240732 #320E07 #153207 #072A32
square
#240732 #320E07 #153207 #072A32
split-complementary
#240732 #2A3207 #07320E
monochromatic
#13041B #13041B #240732 #4B0F68 #71169D

Accessibility & contrast

On white

18.24
#240732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240732
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240732#FFFFFF#000000##FFFFFF
##2407321.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#031631
Tritanopia (blue-blind)
#22101B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240732;
/* rgb */ color: rgb(36, 7, 50);
/* oklch */ color: oklch(20.7% 0.083 312.3);
Tailwind
colors: {
  custom: {
    50: '#61496a',
    500: '#240732',
    950: '#000000',
  },
}
SCSS
$custom: #240732;
$custom-light: #61496a;
$custom-dark: #000000;
JSON
{
  "hex": "#240732",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 280.465,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20694,
    "c": 0.08302,
    "h": 312.3
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#240732
secondary
#3D7223
accent
#F23673
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240732

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

Preview Lab → · Contrast checker → · Palette generator →

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