#421A47#421A47

#421A47 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.8% C 0.091 H 323.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#421A47
RGBrgb(66, 26, 71)
HSLhsl(293, 46%, 19%)
HSVhsv(293, 63%, 28%)
CMYKcmyk(7%, 63.4%, 0%, 72.2%)
CIE-LABlab(17.24, 27.01, -19.71)
CIE-LCHlch(17.24, 33.43, 323.88°)
OKLaboklab(29.79% 0.0727 -0.0546)
OKLCHoklch(29.79% 0.091 323.1)
XYZxyz(3.7534, 2.3522, 6.2163)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A47 #1F471A
analogous
#2C1A47 #421A47 #471A36
triadic
#421A47 #47421A #1A4742
tetradic
#421A47 #472C1A #1F471A #1A3647
square
#421A47 #472C1A #1F471A #1A3647
split-complementary
#421A47 #36471A #1A472C
monochromatic
#150816 #180A1A #421A47 #6C2A74 #953BA1

Accessibility & contrast

On white

14.28
#421A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A47
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A47#FFFFFF#000000##FFFFFF
##421A471.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#202C46
Tritanopia (blue-blind)
#43202D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #421a47;
/* rgb */ color: rgb(66, 26, 71);
/* oklch */ color: oklch(29.8% 0.091 323.1);
Tailwind
colors: {
  custom: {
    50: '#78597a',
    500: '#421a47',
    950: '#000000',
  },
}
SCSS
$custom: #421a47;
$custom-light: #78597a;
$custom-dark: #000000;
JSON
{
  "hex": "#421a47",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 293.333,
    "s": 46.392,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29792,
    "c": 0.09092,
    "h": 323.1
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#421A47
secondary
#477D40
accent
#D65260
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #421A47

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

Preview Lab → · Contrast checker → · Palette generator →

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