#421E4C#421E4C

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

Color values

HEX#421E4C
RGBrgb(66, 30, 76)
HSLhsl(287, 43%, 21%)
HSVhsv(287, 61%, 30%)
CMYKcmyk(13.2%, 60.5%, 0%, 70.2%)
CIE-LABlab(18.40, 25.85, -21.29)
CIE-LCHlch(18.40, 33.49, 320.52°)
OKLaboklab(30.75% 0.0669 -0.0592)
OKLCHoklch(30.75% 0.089 318.5)
XYZxyz(4.0154, 2.6088, 7.1281)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E4C #284C1E
analogous
#2B1E4C #421E4C #4C1E3F
triadic
#421E4C #4C421E #1E4C42
tetradic
#421E4C #4C2B1E #284C1E #1E3F4C
square
#421E4C #4C2B1E #284C1E #1E3F4C
split-complementary
#421E4C #3F4C1E #1E4C2B
monochromatic
#130916 #1C0D20 #421E4C #682F78 #8E41A4

Accessibility & contrast

On white

13.80
#421E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E4C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E4C#FFFFFF#000000##FFFFFF
##421E4C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#422531
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421e4c;
/* rgb */ color: rgb(66, 30, 76);
/* oklch */ color: oklch(30.7% 0.089 318.5);
Tailwind
colors: {
  custom: {
    50: '#785c7e',
    500: '#421e4c',
    950: '#000000',
  },
}
SCSS
$custom: #421e4c;
$custom-light: #785c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#421e4c",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 286.957,
    "s": 43.396,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30746,
    "c": 0.08937,
    "h": 318.5
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#421E4C
secondary
#528145
accent
#D35570
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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