#421E54#421E54

#421E54 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.099 H 312.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#421E54
RGBrgb(66, 30, 84)
HSLhsl(280, 47%, 22%)
HSVhsv(280, 64%, 33%)
CMYKcmyk(21.4%, 64.3%, 0%, 67.1%)
CIE-LABlab(18.92, 27.81, -25.89)
CIE-LCHlch(18.92, 38.00, 317.05°)
OKLaboklab(31.29% 0.0674 -0.0727)
OKLCHoklch(31.29% 0.099 312.9)
XYZxyz(4.3110, 2.7270, 8.6851)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E54 #30541E
analogous
#271E54 #421E54 #541E4B
triadic
#421E54 #54421E #1E5442
tetradic
#421E54 #54271E #30541E #1E4B54
square
#421E54 #54271E #30541E #1E4B54
split-complementary
#421E54 #4B541E #1E5427
monochromatic
#120817 #1F0E27 #421E54 #652E81 #893EAE

Accessibility & contrast

On white

13.59
#421E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E54
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E54#FFFFFF#000000##FFFFFF
##421E541.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C56
Deuteranopia (green-blind)
#1B2F53
Tritanopia (blue-blind)
#402835
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421e54;
/* rgb */ color: rgb(66, 30, 84);
/* oklch */ color: oklch(31.3% 0.099 312.9);
Tailwind
colors: {
  custom: {
    50: '#785c84',
    500: '#421e54',
    950: '#000000',
  },
}
SCSS
$custom: #421e54;
$custom-light: #785c84;
$custom-dark: #000000;
JSON
{
  "hex": "#421e54",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 280,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31287,
    "c": 0.09911,
    "h": 312.9
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#421E54
secondary
#5C8945
accent
#D7517E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E54

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

Preview Lab → · Contrast checker → · Palette generator →

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