#421D4E#421D4E

#421D4E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.7% C 0.094 H 317.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#421D4E
RGBrgb(66, 29, 78)
HSLhsl(285, 46%, 21%)
HSVhsv(285, 63%, 31%)
CMYKcmyk(15.4%, 62.8%, 0%, 69.4%)
CIE-LABlab(18.31, 26.92, -22.80)
CIE-LCHlch(18.31, 35.28, 319.73°)
OKLaboklab(30.72% 0.0687 -0.0636)
OKLCHoklch(30.72% 0.094 317.2)
XYZxyz(4.0611, 2.5872, 7.4917)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D4E #294E1D
analogous
#291D4E #421D4E #4E1D41
triadic
#421D4E #4E421D #1D4E42
tetradic
#421D4E #4E291D #294E1D #1D414E
square
#421D4E #4E291D #294E1D #1D414E
split-complementary
#421D4E #414E1D #1D4E29
monochromatic
#130816 #1C0C21 #421D4E #682E7B #8D3EA7

Accessibility & contrast

On white

13.84
#421D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D4E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D4E#FFFFFF#000000##FFFFFF
##421D4E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#422532
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421d4e;
/* rgb */ color: rgb(66, 29, 78);
/* oklch */ color: oklch(30.7% 0.094 317.2);
Tailwind
colors: {
  custom: {
    50: '#785b80',
    500: '#421d4e',
    950: '#000000',
  },
}
SCSS
$custom: #421d4e;
$custom-light: #785b80;
$custom-dark: #000000;
JSON
{
  "hex": "#421d4e",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 285.306,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30717,
    "c": 0.0936,
    "h": 317.2
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#421D4E
secondary
#538344
accent
#D55272
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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