#421E4F#421E4F

#421E4F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.9% C 0.093 H 316.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#421E4F
RGBrgb(66, 30, 79)
HSLhsl(284, 45%, 21%)
HSVhsv(284, 62%, 31%)
CMYKcmyk(16.5%, 62%, 0%, 69%)
CIE-LABlab(18.59, 26.58, -23.03)
CIE-LCHlch(18.59, 35.17, 319.08°)
OKLaboklab(30.94% 0.0672 -0.0643)
OKLCHoklch(30.94% 0.093 316.3)
XYZxyz(4.1221, 2.6514, 7.6903)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E4F #2B4F1E
analogous
#2A1E4F #421E4F #4F1E44
triadic
#421E4F #4F421E #1E4F42
tetradic
#421E4F #4F2A1E #2B4F1E #1E444F
square
#421E4F #4F2A1E #2B4F1E #1E444F
split-complementary
#421E4F #444F1E #1E4F2A
monochromatic
#130816 #1D0D23 #421E4F #672F7B #8C40A8

Accessibility & contrast

On white

13.72
#421E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E4F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E4F#FFFFFF#000000##FFFFFF
##421E4F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#1F2E4E
Tritanopia (blue-blind)
#412633
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421e4f;
/* rgb */ color: rgb(66, 30, 79);
/* oklch */ color: oklch(30.9% 0.093 316.3);
Tailwind
colors: {
  custom: {
    50: '#785c80',
    500: '#421e4f',
    950: '#000000',
  },
}
SCSS
$custom: #421e4f;
$custom-light: #785c80;
$custom-dark: #000000;
JSON
{
  "hex": "#421e4f",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 284.082,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.093,
    "h": 316.3
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#421E4F
secondary
#568445
accent
#D55376
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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