#240328#240328

#240328 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.080 H 323.4°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#240328
RGBrgb(36, 3, 40)
HSLhsl(294, 86%, 8%)
HSVhsv(294, 93%, 16%)
CMYKcmyk(10%, 92.5%, 0%, 84.3%)
CIE-LABlab(5.36, 22.48, -16.48)
CIE-LCHlch(5.36, 27.87, 323.77°)
OKLaboklab(19.17% 0.0644 -0.0478)
OKLCHoklch(19.17% 0.08 323.4)
XYZxyz(1.1431, 0.5935, 2.0614)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240328 #072803
analogous
#110328 #240328 #280319
triadic
#240328 #282403 #032824
tetradic
#240328 #281103 #072803 #031928
square
#240328 #281103 #072803 #031928
split-complementary
#240328 #192803 #032811
monochromatic
#1A021C #1A021C #240328 #570761 #8A0C9A

Accessibility & contrast

On white

18.77
#240328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240328
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240328#FFFFFF#000000##FFFFFF
##2403281.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#081327
Tritanopia (blue-blind)
#250914
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240328;
/* rgb */ color: rgb(36, 3, 40);
/* oklch */ color: oklch(19.2% 0.080 323.4);
Tailwind
colors: {
  custom: {
    50: '#604762',
    500: '#240328',
    950: '#000000',
  },
}
SCSS
$custom: #240328;
$custom-light: #604762;
$custom-dark: #000000;
JSON
{
  "hex": "#240328",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 293.514,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19167,
    "c": 0.08015,
    "h": 323.4
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#240328
secondary
#246C1B
accent
#FC2C42
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #240328

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

Preview Lab → · Contrast checker → · Palette generator →

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