#421B4B#421B4B

#421B4B is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.2% C 0.094 H 319.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#421B4B
RGBrgb(66, 27, 75)
HSLhsl(289, 47%, 20%)
HSVhsv(289, 64%, 29%)
CMYKcmyk(12%, 64%, 0%, 70.6%)
CIE-LABlab(17.69, 27.36, -21.73)
CIE-LCHlch(17.69, 34.94, 321.54°)
OKLaboklab(30.21% 0.0715 -0.0605)
OKLCHoklch(30.21% 0.094 319.8)
XYZxyz(3.9085, 2.4503, 6.9223)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B4B #244B1B
analogous
#2A1B4B #421B4B #4B1B3C
triadic
#421B4B #4B421B #1B4B42
tetradic
#421B4B #4B2A1B #244B1B #1B3C4B
square
#421B4B #4B2A1B #244B1B #1B3C4B
split-complementary
#421B4B #3C4B1B #1B4B2A
monochromatic
#140817 #1A0B1E #421B4B #6A2B78 #913BA5

Accessibility & contrast

On white

14.09
#421B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B4B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B4B#FFFFFF#000000##FFFFFF
##421B4B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#422230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421b4b;
/* rgb */ color: rgb(66, 27, 75);
/* oklch */ color: oklch(30.2% 0.094 319.8);
Tailwind
colors: {
  custom: {
    50: '#785a7d',
    500: '#421b4b',
    950: '#000000',
  },
}
SCSS
$custom: #421b4b;
$custom-light: #785a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#421b4b",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 288.75,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.09366,
    "h": 319.8
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#421B4B
secondary
#4D8141
accent
#D7516A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090409
muted
#7B797B

Preview Lab

Preview with #421B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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