#421A56#421A56

#421A56 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.8% C 0.108 H 312.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#421A56
RGBrgb(66, 26, 86)
HSLhsl(280, 54%, 22%)
HSVhsv(280, 70%, 34%)
CMYKcmyk(23.3%, 69.8%, 0%, 66.3%)
CIE-LABlab(18.23, 30.57, -28.34)
CIE-LCHlch(18.23, 41.68, 317.17°)
OKLaboklab(30.83% 0.0731 -0.0798)
OKLCHoklch(30.83% 0.108 312.5)
XYZxyz(4.2956, 2.5690, 9.0719)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A56 #2E561A
analogous
#241A56 #421A56 #561A4C
triadic
#421A56 #56421A #1A5642
tetradic
#421A56 #56241A #2E561A #1A4C56
square
#421A56 #56241A #2E561A #1A4C56
split-complementary
#421A56 #4C561A #1A5624
monochromatic
#120717 #1E0C27 #421A56 #662885 #8A36B4

Accessibility & contrast

On white

13.87
#421A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A56
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A56#FFFFFF#000000##FFFFFF
##421A561.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#152D55
Tritanopia (blue-blind)
#402635
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421a56;
/* rgb */ color: rgb(66, 26, 86);
/* oklch */ color: oklch(30.8% 0.108 312.5);
Tailwind
colors: {
  custom: {
    50: '#795a86',
    500: '#421a56',
    950: '#000000',
  },
}
SCSS
$custom: #421a56;
$custom-light: #795a86;
$custom-dark: #000000;
JSON
{
  "hex": "#421a56",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 280,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30832,
    "c": 0.10818,
    "h": 312.5
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#421A56
secondary
#598C40
accent
#DD4B7C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421A56

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

Preview Lab → · Contrast checker → · Palette generator →

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