#421A4F#421A4F

#421A4F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.3% C 0.100 H 317.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#421A4F
RGBrgb(66, 26, 79)
HSLhsl(285, 50%, 21%)
HSVhsv(285, 67%, 31%)
CMYKcmyk(16.5%, 67.1%, 0%, 69%)
CIE-LABlab(17.74, 28.86, -24.38)
CIE-LCHlch(17.74, 37.78, 319.81°)
OKLaboklab(30.33% 0.0732 -0.0682)
OKLCHoklch(30.33% 0.1 317)
XYZxyz(4.0272, 2.4617, 7.6586)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A4F #274F1A
analogous
#271A4F #421A4F #4F1A41
triadic
#421A4F #4F421A #1A4F42
tetradic
#421A4F #4F271A #274F1A #1A414F
square
#421A4F #4F271A #274F1A #1A414F
split-complementary
#421A4F #414F1A #1A4F27
monochromatic
#130817 #1C0B21 #421A4F #68297D #8F38AB

Accessibility & contrast

On white

14.07
#421A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A4F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A4F#FFFFFF#000000##FFFFFF
##421A4F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2951
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#412331
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421a4f;
/* rgb */ color: rgb(66, 26, 79);
/* oklch */ color: oklch(30.3% 0.100 317.0);
Tailwind
colors: {
  custom: {
    50: '#785980',
    500: '#421a4f',
    950: '#000000',
  },
}
SCSS
$custom: #421a4f;
$custom-light: #785980;
$custom-dark: #000000;
JSON
{
  "hex": "#421a4f",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 285.283,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.10002,
    "h": 317
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#421A4F
secondary
#518540
accent
#DA4E70
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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