#421B4E#421B4E

#421B4E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.4% C 0.097 H 317.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#421B4E
RGBrgb(66, 27, 78)
HSLhsl(286, 49%, 21%)
HSVhsv(286, 65%, 31%)
CMYKcmyk(15.4%, 65.4%, 0%, 69.4%)
CIE-LABlab(17.88, 28.07, -23.48)
CIE-LCHlch(17.88, 36.59, 320.09°)
OKLaboklab(30.41% 0.0717 -0.0656)
OKLCHoklch(30.41% 0.097 317.5)
XYZxyz(4.0137, 2.4923, 7.4759)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B4E #274E1B
analogous
#281B4E #421B4E #4E1B40
triadic
#421B4E #4E421B #1B4E42
tetradic
#421B4E #4E281B #274E1B #1B404E
square
#421B4E #4E281B #274E1B #1B404E
split-complementary
#421B4E #404E1B #1B4E28
monochromatic
#130817 #1C0B21 #421B4E #682B7B #8F3AA9

Accessibility & contrast

On white

14.01
#421B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B4E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B4E#FFFFFF#000000##FFFFFF
##421B4E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421b4e;
/* rgb */ color: rgb(66, 27, 78);
/* oklch */ color: oklch(30.4% 0.097 317.5);
Tailwind
colors: {
  custom: {
    50: '#785a80',
    500: '#421b4e',
    950: '#000000',
  },
}
SCSS
$custom: #421b4e;
$custom-light: #785a80;
$custom-dark: #000000;
JSON
{
  "hex": "#421b4e",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 285.882,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.09714,
    "h": 317.5
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#421B4E
secondary
#518441
accent
#D85070
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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