#421B4F#421B4F

#421B4F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.098 H 316.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#421B4F
RGBrgb(66, 27, 79)
HSLhsl(285, 49%, 21%)
HSVhsv(285, 66%, 31%)
CMYKcmyk(16.5%, 65.8%, 0%, 69%)
CIE-LABlab(17.95, 28.30, -24.05)
CIE-LCHlch(17.95, 37.14, 319.64°)
OKLaboklab(30.48% 0.0717 -0.0672)
OKLCHoklch(30.48% 0.098 316.8)
XYZxyz(4.0498, 2.5068, 7.6661)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B4F #284F1B
analogous
#281B4F #421B4F #4F1B42
triadic
#421B4F #4F421B #1B4F42
tetradic
#421B4F #4F281B #284F1B #1B424F
square
#421B4F #4F281B #284F1B #1B424F
split-complementary
#421B4F #424F1B #1B4F28
monochromatic
#130817 #1C0B21 #421B4F #682B7D #8E3AAA

Accessibility & contrast

On white

13.99
#421B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B4F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B4F#FFFFFF#000000##FFFFFF
##421B4F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2951
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#412432
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421b4f;
/* rgb */ color: rgb(66, 27, 79);
/* oklch */ color: oklch(30.5% 0.098 316.8);
Tailwind
colors: {
  custom: {
    50: '#785a80',
    500: '#421b4f',
    950: '#000000',
  },
}
SCSS
$custom: #421b4f;
$custom-light: #785a80;
$custom-dark: #000000;
JSON
{
  "hex": "#421b4f",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 285,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30476,
    "c": 0.0983,
    "h": 316.8
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#421B4F
secondary
#528541
accent
#D94F72
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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