#240132#240132

#240132 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.095 H 314.0°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#240132
RGBrgb(36, 1, 50)
HSLhsl(283, 96%, 10%)
HSVhsv(283, 98%, 20%)
CMYKcmyk(28%, 98%, 0%, 80.4%)
CIE-LABlab(5.66, 26.62, -23.51)
CIE-LCHlch(5.66, 35.52, 318.55°)
OKLaboklab(19.72% 0.0657 -0.0679)
OKLCHoklch(19.72% 0.095 314)
XYZxyz(1.3140, 0.6271, 3.0688)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240132 #0F3201
analogous
#0B0132 #240132 #320128
triadic
#240132 #322401 #013224
tetradic
#240132 #320B01 #0F3201 #012832
square
#240132 #320B01 #0F3201 #012832
split-complementary
#240132 #283201 #01320B
monochromatic
#16011E #16011E #240132 #4F026E #7A03AA

Accessibility & contrast

On white

18.66
#240132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240132
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240132#FFFFFF#000000##FFFFFF
##2401321.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#230C19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240132;
/* rgb */ color: rgb(36, 1, 50);
/* oklch */ color: oklch(19.7% 0.095 314.0);
Tailwind
colors: {
  custom: {
    50: '#61466a',
    500: '#240132',
    950: '#000000',
  },
}
SCSS
$custom: #240132;
$custom-light: #61466a;
$custom-dark: #000000;
JSON
{
  "hex": "#240132",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 282.857,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.19721,
    "c": 0.09453,
    "h": 314
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#240132
secondary
#337717
accent
#FF2966
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240132

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

Preview Lab → · Contrast checker → · Palette generator →

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