#421F4E#421F4E

#421F4E is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.0% C 0.090 H 316.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#421F4E
RGBrgb(66, 31, 78)
HSLhsl(285, 43%, 21%)
HSVhsv(285, 60%, 31%)
CMYKcmyk(15.4%, 60.3%, 0%, 69.4%)
CIE-LABlab(18.75, 25.74, -22.10)
CIE-LCHlch(18.75, 33.92, 319.35°)
OKLaboklab(31.04% 0.0655 -0.0616)
OKLCHoklch(31.04% 0.09 316.8)
XYZxyz(4.1117, 2.6884, 7.5086)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F4E #2B4E1F
analogous
#2B1F4E #421F4E #4E1F43
triadic
#421F4E #4E421F #1F4E42
tetradic
#421F4E #4E2B1F #2B4E1F #1F434E
square
#421F4E #4E2B1F #2B4E1F #1F434E
split-complementary
#421F4E #434E1F #1F4E2B
monochromatic
#130916 #1D0E22 #421F4E #67307A #8C42A6

Accessibility & contrast

On white

13.66
#421F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F4E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F4E#FFFFFF#000000##FFFFFF
##421F4E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#422633
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421f4e;
/* rgb */ color: rgb(66, 31, 78);
/* oklch */ color: oklch(31.0% 0.090 316.8);
Tailwind
colors: {
  custom: {
    50: '#785c80',
    500: '#421f4e',
    950: '#000000',
  },
}
SCSS
$custom: #421f4e;
$custom-light: #785c80;
$custom-dark: #000000;
JSON
{
  "hex": "#421f4e",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 284.681,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31041,
    "c": 0.08994,
    "h": 316.8
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#421F4E
secondary
#568346
accent
#D35575
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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