#421B4C#421B4C

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

Color values

HEX#421B4C
RGBrgb(66, 27, 76)
HSLhsl(288, 48%, 20%)
HSVhsv(288, 64%, 30%)
CMYKcmyk(13.2%, 64.5%, 0%, 70.2%)
CIE-LABlab(17.76, 27.59, -22.32)
CIE-LCHlch(17.76, 35.49, 321.03°)
OKLaboklab(30.27% 0.0716 -0.0622)
OKLCHoklch(30.27% 0.095 319)
XYZxyz(3.9430, 2.4641, 7.1040)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B4C #254C1B
analogous
#291B4C #421B4C #4C1B3D
triadic
#421B4C #4C421B #1B4C42
tetradic
#421B4C #4C291B #254C1B #1B3D4C
square
#421B4C #4C291B #254C1B #1B3D4C
split-complementary
#421B4C #3D4C1B #1B4C29
monochromatic
#140817 #1B0B1F #421B4C #692B79 #903BA6

Accessibility & contrast

On white

14.07
#421B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#421B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B4C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B4C#FFFFFF#000000##FFFFFF
##421B4C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#422330
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421b4c;
/* rgb */ color: rgb(66, 27, 76);
/* oklch */ color: oklch(30.3% 0.095 319.0);
Tailwind
colors: {
  custom: {
    50: '#785a7e',
    500: '#421b4c',
    950: '#000000',
  },
}
SCSS
$custom: #421b4c;
$custom-light: #785a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#421b4c",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 287.755,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30272,
    "c": 0.09482,
    "h": 319
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#421B4C
secondary
#4E8241
accent
#D7516C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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