#240323#240323

#240323 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.8% C 0.075 H 329.3°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#240323
RGBrgb(36, 3, 35)
HSLhsl(302, 85%, 8%)
HSVhsv(302, 92%, 14%)
CMYKcmyk(0%, 91.7%, 2.8%, 85.9%)
CIE-LABlab(5.07, 21.00, -13.08)
CIE-LCHlch(5.07, 24.74, 328.08°)
OKLaboklab(18.77% 0.0647 -0.0384)
OKLCHoklch(18.77% 0.075 329.3)
XYZxyz(1.0635, 0.5616, 1.6422)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240323 #032404
analogous
#140324 #240323 #240312
triadic
#240323 #232403 #032324
tetradic
#240323 #241403 #032404 #031224
square
#240323 #241403 #032404 #031224
split-complementary
#240323 #122403 #032414
monochromatic
#1C021B #1C021B #240323 #5C085A #950C91

Accessibility & contrast

On white

18.88
#240323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240323
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240323#FFFFFF#000000##FFFFFF
##2403231.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E24
Deuteranopia (green-blind)
#0B1322
Tritanopia (blue-blind)
#260611
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #240323;
/* rgb */ color: rgb(36, 3, 35);
/* oklch */ color: oklch(18.8% 0.075 329.3);
Tailwind
colors: {
  custom: {
    50: '#60475e',
    500: '#240323',
    950: '#000000',
  },
}
SCSS
$custom: #240323;
$custom-light: #60475e;
$custom-dark: #000000;
JSON
{
  "hex": "#240323",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 35
  },
  "hsl": {
    "h": 301.818,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18772,
    "c": 0.0752,
    "h": 329.3
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#240323
secondary
#1B681D
accent
#FB332D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #240323

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

Preview Lab → · Contrast checker → · Palette generator →

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