#421C4F#421C4F

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

Color values

HEX#421C4F
RGBrgb(66, 28, 79)
HSLhsl(285, 48%, 21%)
HSVhsv(285, 65%, 31%)
CMYKcmyk(16.5%, 64.6%, 0%, 69%)
CIE-LABlab(18.16, 27.74, -23.72)
CIE-LCHlch(18.16, 36.50, 319.46°)
OKLaboklab(30.63% 0.0702 -0.0663)
OKLCHoklch(30.63% 0.097 316.6)
XYZxyz(4.0731, 2.5534, 7.6739)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C4F #294F1C
analogous
#281C4F #421C4F #4F1C42
triadic
#421C4F #4F421C #1C4F42
tetradic
#421C4F #4F281C #294F1C #1C424F
square
#421C4F #4F281C #294F1C #1C424F
split-complementary
#421C4F #424F1C #1C4F28
monochromatic
#130817 #1C0C22 #421C4F #682C7C #8D3CA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421C4F#FFFFFF#000000##FFFFFF
##421C4F1.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)
#0E2A51
Deuteranopia (green-blind)
#1D2D4E
Tritanopia (blue-blind)
#412532
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421c4f;
/* rgb */ color: rgb(66, 28, 79);
/* oklch */ color: oklch(30.6% 0.097 316.6);
Tailwind
colors: {
  custom: {
    50: '#785a80',
    500: '#421c4f',
    950: '#000000',
  },
}
SCSS
$custom: #421c4f;
$custom-light: #785a80;
$custom-dark: #000000;
JSON
{
  "hex": "#421c4f",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 284.706,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30628,
    "c": 0.09657,
    "h": 316.6
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#421C4F
secondary
#538542
accent
#D75173
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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