#421A4E#421A4E

#421A4E is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.099 H 317.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#421A4E
RGBrgb(66, 26, 78)
HSLhsl(286, 50%, 20%)
HSVhsv(286, 67%, 31%)
CMYKcmyk(15.4%, 66.7%, 0%, 69.4%)
CIE-LABlab(17.68, 28.62, -23.80)
CIE-LCHlch(17.68, 37.23, 320.25°)
OKLaboklab(30.26% 0.0731 -0.0665)
OKLCHoklch(30.26% 0.099 317.7)
XYZxyz(3.9911, 2.4473, 7.4684)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A4E #264E1A
analogous
#281A4E #421A4E #4E1A40
triadic
#421A4E #4E421A #1A4E42
tetradic
#421A4E #4E281A #264E1A #1A404E
square
#421A4E #4E281A #264E1A #1A404E
split-complementary
#421A4E #404E1A #1A4E28
monochromatic
#130817 #1B0B20 #421A4E #69297C #9039AA

Accessibility & contrast

On white

14.10
#421A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A4E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A4E#FFFFFF#000000##FFFFFF
##421A4E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2950
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#422331
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421a4e;
/* rgb */ color: rgb(66, 26, 78);
/* oklch */ color: oklch(30.3% 0.099 317.7);
Tailwind
colors: {
  custom: {
    50: '#785980',
    500: '#421a4e',
    950: '#000000',
  },
}
SCSS
$custom: #421a4e;
$custom-light: #785980;
$custom-dark: #000000;
JSON
{
  "hex": "#421a4e",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 286.154,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.09887,
    "h": 317.7
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#421A4E
secondary
#4F8440
accent
#DA4E6E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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