#421E48#421E48

#421E48 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.5% C 0.085 H 321.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#421E48
RGBrgb(66, 30, 72)
HSLhsl(291, 41%, 20%)
HSVhsv(291, 58%, 28%)
CMYKcmyk(8.3%, 58.3%, 0%, 71.8%)
CIE-LABlab(18.16, 24.91, -18.93)
CIE-LCHlch(18.16, 31.29, 322.76°)
OKLaboklab(30.49% 0.0665 -0.0524)
OKLCHoklch(30.49% 0.085 321.7)
XYZxyz(3.8806, 2.5548, 6.4184)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E48 #24481E
analogous
#2D1E48 #421E48 #481E39
triadic
#421E48 #48421E #1E4842
tetradic
#421E48 #482D1E #24481E #1E3948
square
#421E48 #482D1E #24481E #1E3948
split-complementary
#421E48 #39481E #1E482D
monochromatic
#140916 #1A0C1D #421E48 #6A3073 #91429E

Accessibility & contrast

On white

13.90
#421E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E48
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E48#FFFFFF#000000##FFFFFF
##421E481.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#232E47
Tritanopia (blue-blind)
#43242F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421e48;
/* rgb */ color: rgb(66, 30, 72);
/* oklch */ color: oklch(30.5% 0.085 321.7);
Tailwind
colors: {
  custom: {
    50: '#785c7b',
    500: '#421e48',
    950: '#000000',
  },
}
SCSS
$custom: #421e48;
$custom-light: #785c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#421e48",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 291.429,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.08462,
    "h": 321.7
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#421E48
secondary
#4D7D45
accent
#D15768
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090409
muted
#7B797B

Preview Lab

Preview with #421E48

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

Preview Lab → · Contrast checker → · Palette generator →

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