#421A40#421A40

#421A40 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.4% C 0.083 H 329.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#421A40
RGBrgb(66, 26, 64)
HSLhsl(303, 43%, 18%)
HSVhsv(303, 61%, 26%)
CMYKcmyk(0%, 60.6%, 3%, 74.1%)
CIE-LABlab(16.83, 25.48, -15.49)
CIE-LCHlch(16.83, 29.82, 328.71°)
OKLaboklab(29.36% 0.0717 -0.0424)
OKLCHoklch(29.36% 0.083 329.4)
XYZxyz(3.5415, 2.2674, 5.1006)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A40 #1A421C
analogous
#301A42 #421A40 #421A2C
triadic
#421A40 #40421A #1A4042
tetradic
#421A40 #42301A #1A421C #1A2C42
square
#421A40 #42301A #1A421C #1A2C42
split-complementary
#421A40 #2C421A #1A4230
monochromatic
#160915 #160915 #421A40 #6E2B6B #9A3D95

Accessibility & contrast

On white

14.45
#421A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#421A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A40
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A40#FFFFFF#000000##FFFFFF
##421A401.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#232B3F
Tritanopia (blue-blind)
#441E2A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #421a40;
/* rgb */ color: rgb(66, 26, 64);
/* oklch */ color: oklch(29.4% 0.083 329.4);
Tailwind
colors: {
  custom: {
    50: '#785975',
    500: '#421a40',
    950: '#000000',
  },
}
SCSS
$custom: #421a40;
$custom-light: #785975;
$custom-dark: #000000;
JSON
{
  "hex": "#421a40",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 303,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29364,
    "c": 0.08334,
    "h": 329.4
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#421A40
secondary
#407843
accent
#D35B55
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #421A40

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

Preview Lab → · Contrast checker → · Palette generator →

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