#240322#240322

#240322 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.7% C 0.074 H 330.6°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#240322
RGBrgb(36, 3, 34)
HSLhsl(304, 85%, 8%)
HSVhsv(304, 92%, 14%)
CMYKcmyk(0%, 91.7%, 5.6%, 85.9%)
CIE-LABlab(5.02, 20.71, -12.39)
CIE-LCHlch(5.02, 24.13, 329.12°)
OKLaboklab(18.7% 0.0647 -0.0364)
OKLCHoklch(18.7% 0.074 330.6)
XYZxyz(1.0488, 0.5558, 1.5651)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240322 #032405
analogous
#150324 #240322 #240312
triadic
#240322 #222403 #032224
tetradic
#240322 #241503 #032405 #031224
square
#240322 #241503 #032405 #031224
split-complementary
#240322 #122403 #032415
monochromatic
#1C021B #1C021B #240322 #5C0857 #950C8D

Accessibility & contrast

On white

18.90
#240322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240322
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240322#FFFFFF#000000##FFFFFF
##2403221.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240322;
/* rgb */ color: rgb(36, 3, 34);
/* oklch */ color: oklch(18.7% 0.074 330.6);
Tailwind
colors: {
  custom: {
    50: '#60475d',
    500: '#240322',
    950: '#000000',
  },
}
SCSS
$custom: #240322;
$custom-light: #60475d;
$custom-dark: #000000;
JSON
{
  "hex": "#240322",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 303.636,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18698,
    "c": 0.07424,
    "h": 330.6
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#240322
secondary
#1B681F
accent
#FB392D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #240322

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

Preview Lab → · Contrast checker → · Palette generator →

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