#421D40#421D40

#421D40 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.9% C 0.078 H 329.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#421D40
RGBrgb(66, 29, 64)
HSLhsl(303, 39%, 19%)
HSVhsv(303, 56%, 26%)
CMYKcmyk(0%, 56.1%, 3%, 74.1%)
CIE-LABlab(17.49, 23.72, -14.46)
CIE-LCHlch(17.49, 27.78, 328.64°)
OKLaboklab(29.85% 0.0667 -0.0395)
OKLCHoklch(29.85% 0.078 329.4)
XYZxyz(3.6115, 2.4074, 5.1239)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D40 #1D421F
analogous
#311D42 #421D40 #421D2D
triadic
#421D40 #40421D #1D4042
tetradic
#421D40 #42311D #1D421F #1D2D42
square
#421D40 #42311D #1D421F #1D2D42
split-complementary
#421D40 #2D421D #1D4231
monochromatic
#150915 #170A17 #421D40 #6D3069 #974292

Accessibility & contrast

On white

14.18
#421D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#421D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D40
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D40#FFFFFF#000000##FFFFFF
##421D401.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#252D3F
Tritanopia (blue-blind)
#44202B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421d40;
/* rgb */ color: rgb(66, 29, 64);
/* oklch */ color: oklch(29.9% 0.078 329.4);
Tailwind
colors: {
  custom: {
    50: '#785b75',
    500: '#421d40',
    950: '#000000',
  },
}
SCSS
$custom: #421d40;
$custom-light: #785b75;
$custom-dark: #000000;
JSON
{
  "hex": "#421d40",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 303.243,
    "s": 38.947,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.07755,
    "h": 329.4
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#421D40
secondary
#447747
accent
#CF5F59
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090408
muted
#7B797B

Preview Lab

Preview with #421D40

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

Preview Lab → · Contrast checker → · Palette generator →

#421D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva