#240832#240832

#240832 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.081 H 312.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#240832
RGBrgb(36, 8, 50)
HSLhsl(280, 72%, 11%)
HSVhsv(280, 84%, 20%)
CMYKcmyk(28%, 84%, 0%, 80.4%)
CIE-LABlab(7.04, 22.97, -21.31)
CIE-LCHlch(7.04, 31.34, 317.15°)
OKLaboklab(20.85% 0.0544 -0.0604)
OKLCHoklch(20.85% 0.081 312)
XYZxyz(1.3900, 0.7791, 3.0941)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240832 #163208
analogous
#0F0832 #240832 #32082B
triadic
#240832 #322408 #083224
tetradic
#240832 #320F08 #163208 #082B32
square
#240832 #320F08 #163208 #082B32
split-complementary
#240832 #2B3208 #08320F
monochromatic
#13041A #13041A #240832 #4A1067 #70199C

Accessibility & contrast

On white

18.17
#240832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240832
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240832#FFFFFF#000000##FFFFFF
##2408321.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#041631
Tritanopia (blue-blind)
#22111C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240832;
/* rgb */ color: rgb(36, 8, 50);
/* oklch */ color: oklch(20.8% 0.081 312.0);
Tailwind
colors: {
  custom: {
    50: '#614a6a',
    500: '#240832',
    950: '#000000',
  },
}
SCSS
$custom: #240832;
$custom-light: #614a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#240832",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 280,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20847,
    "c": 0.08127,
    "h": 312
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#240832
secondary
#3E7125
accent
#EF3975
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240832

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

Preview Lab → · Contrast checker → · Palette generator →

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