#421A4C#421A4C

#421A4C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.097 H 319.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#421A4C
RGBrgb(66, 26, 76)
HSLhsl(288, 49%, 20%)
HSVhsv(288, 66%, 30%)
CMYKcmyk(13.2%, 65.8%, 0%, 70.2%)
CIE-LABlab(17.55, 28.15, -22.64)
CIE-LCHlch(17.55, 36.13, 321.19°)
OKLaboklab(30.12% 0.0731 -0.0631)
OKLCHoklch(30.12% 0.097 319.2)
XYZxyz(3.9205, 2.4190, 7.0965)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A4C #244C1A
analogous
#291A4C #421A4C #4C1A3D
triadic
#421A4C #4C421A #1A4C42
tetradic
#421A4C #4C291A #244C1A #1A3D4C
square
#421A4C #4C291A #244C1A #1A3D4C
split-complementary
#421A4C #3D4C1A #1A4C29
monochromatic
#140817 #1A0A1E #421A4C #6A2A7A #9139A7

Accessibility & contrast

On white

14.15
#421A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A4C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A4C#FFFFFF#000000##FFFFFF
##421A4C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E284E
Deuteranopia (green-blind)
#1D2C4B
Tritanopia (blue-blind)
#422230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421a4c;
/* rgb */ color: rgb(66, 26, 76);
/* oklch */ color: oklch(30.1% 0.097 319.2);
Tailwind
colors: {
  custom: {
    50: '#78597e',
    500: '#421a4c',
    950: '#000000',
  },
}
SCSS
$custom: #421a4c;
$custom-light: #78597e;
$custom-dark: #000000;
JSON
{
  "hex": "#421a4c",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 288,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.09656,
    "h": 319.2
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#421A4C
secondary
#4D8240
accent
#D94F6B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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