#421F4C#421F4C

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

Color values

HEX#421F4C
RGBrgb(66, 31, 76)
HSLhsl(287, 42%, 21%)
HSVhsv(287, 59%, 30%)
CMYKcmyk(13.2%, 59.2%, 0%, 70.2%)
CIE-LABlab(18.63, 25.25, -20.93)
CIE-LCHlch(18.63, 32.80, 320.34°)
OKLaboklab(30.91% 0.0653 -0.0582)
OKLCHoklch(30.91% 0.088 318.3)
XYZxyz(4.0411, 2.6602, 7.1367)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F4C #294C1F
analogous
#2B1F4C #421F4C #4C1F3F
triadic
#421F4C #4C421F #1F4C42
tetradic
#421F4C #4C2B1F #294C1F #1F3F4C
square
#421F4C #4C2B1F #294C1F #1F3F4C
split-complementary
#421F4C #3F4C1F #1F4C2B
monochromatic
#130916 #1C0D21 #421F4C #683177 #8D42A3

Accessibility & contrast

On white

13.71
#421F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F4C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F4C#FFFFFF#000000##FFFFFF
##421F4C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#422632
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421f4c;
/* rgb */ color: rgb(66, 31, 76);
/* oklch */ color: oklch(30.9% 0.088 318.3);
Tailwind
colors: {
  custom: {
    50: '#785c7e',
    500: '#421f4c',
    950: '#000000',
  },
}
SCSS
$custom: #421f4c;
$custom-light: #785c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#421f4c",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 286.667,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30911,
    "c": 0.08751,
    "h": 318.3
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#421F4C
secondary
#538146
accent
#D25671
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #421F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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