#421B4D#421B4D

#421B4D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.3% C 0.096 H 318.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#421B4D
RGBrgb(66, 27, 77)
HSLhsl(287, 48%, 20%)
HSVhsv(287, 65%, 30%)
CMYKcmyk(14.3%, 64.9%, 0%, 69.8%)
CIE-LABlab(17.82, 27.83, -22.90)
CIE-LCHlch(17.82, 36.04, 320.55°)
OKLaboklab(30.34% 0.0716 -0.0639)
OKLCHoklch(30.34% 0.096 318.3)
XYZxyz(3.9781, 2.4781, 7.2885)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B4D #264D1B
analogous
#291B4D #421B4D #4D1B3F
triadic
#421B4D #4D421B #1B4D42
tetradic
#421B4D #4D291B #264D1B #1B3F4D
square
#421B4D #4D291B #264D1B #1B3F4D
split-complementary
#421B4D #3F4D1B #1B4D29
monochromatic
#130817 #1B0B20 #421B4D #692B7A #903BA8

Accessibility & contrast

On white

14.04
#421B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B4D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B4D#FFFFFF#000000##FFFFFF
##421B4D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294F
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#422331
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421b4d;
/* rgb */ color: rgb(66, 27, 77);
/* oklch */ color: oklch(30.3% 0.096 318.3);
Tailwind
colors: {
  custom: {
    50: '#785a7f',
    500: '#421b4d',
    950: '#000000',
  },
}
SCSS
$custom: #421b4d;
$custom-light: #785a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#421b4d",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 286.8,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30339,
    "c": 0.09598,
    "h": 318.3
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#421B4D
secondary
#4F8341
accent
#D8506E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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