#421C40#421C40

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

Color values

HEX#421C40
RGBrgb(66, 28, 64)
HSLhsl(303, 40%, 18%)
HSVhsv(303, 58%, 26%)
CMYKcmyk(0%, 57.6%, 3%, 74.1%)
CIE-LABlab(17.27, 24.32, -14.81)
CIE-LCHlch(17.27, 28.47, 328.66°)
OKLaboklab(29.69% 0.0684 -0.0405)
OKLCHoklch(29.69% 0.08 329.4)
XYZxyz(3.5874, 2.3591, 5.1159)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C40 #1C421E
analogous
#311C42 #421C40 #421C2D
triadic
#421C40 #40421C #1C4042
tetradic
#421C40 #42311C #1C421E #1C2D42
square
#421C40 #42311C #1C421E #1C2D42
split-complementary
#421C40 #2D421C #1C4231
monochromatic
#150915 #170A16 #421C40 #6D2E6A #984093

Accessibility & contrast

On white

14.27
#421C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#421C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C40
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C40#FFFFFF#000000##FFFFFF
##421C401.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192741
Deuteranopia (green-blind)
#252C3F
Tritanopia (blue-blind)
#44202B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #421c40;
/* rgb */ color: rgb(66, 28, 64);
/* oklch */ color: oklch(29.7% 0.080 329.4);
Tailwind
colors: {
  custom: {
    50: '#785a75',
    500: '#421c40',
    950: '#000000',
  },
}
SCSS
$custom: #421c40;
$custom-light: #785a75;
$custom-dark: #000000;
JSON
{
  "hex": "#421c40",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 303.158,
    "s": 40.426,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.07951,
    "h": 329.4
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#421C40
secondary
#437745
accent
#D05E58
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090408
muted
#7B797B

Preview Lab

Preview with #421C40

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

Preview Lab → · Contrast checker → · Palette generator →

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