#421F53#421F53

#421F53 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.4% C 0.096 H 313.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#421F53
RGBrgb(66, 31, 83)
HSLhsl(280, 46%, 22%)
HSVhsv(280, 63%, 33%)
CMYKcmyk(20.5%, 62.7%, 0%, 67.5%)
CIE-LABlab(19.07, 26.98, -24.98)
CIE-LCHlch(19.07, 36.76, 317.20°)
OKLaboklab(31.38% 0.0659 -0.07)
OKLCHoklch(31.38% 0.096 313.3)
XYZxyz(4.2978, 2.7629, 8.4888)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F53 #30531F
analogous
#281F53 #421F53 #531F4A
triadic
#421F53 #53421F #1F5342
tetradic
#421F53 #53281F #30531F #1F4A53
square
#421F53 #53281F #30531F #1F4A53
split-complementary
#421F53 #4A531F #1F5328
monochromatic
#120816 #1F0E26 #421F53 #653080 #8940AC

Accessibility & contrast

On white

13.53
#421F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F53
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F53#FFFFFF#000000##FFFFFF
##421F531.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C55
Deuteranopia (green-blind)
#1D2F52
Tritanopia (blue-blind)
#402835
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421f53;
/* rgb */ color: rgb(66, 31, 83);
/* oklch */ color: oklch(31.4% 0.096 313.3);
Tailwind
colors: {
  custom: {
    50: '#785c84',
    500: '#421f53',
    950: '#000000',
  },
}
SCSS
$custom: #421f53;
$custom-light: #785c84;
$custom-dark: #000000;
JSON
{
  "hex": "#421f53",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 280.385,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31377,
    "c": 0.09611,
    "h": 313.3
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#421F53
secondary
#5C8846
accent
#D5537D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421F53

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

Preview Lab → · Contrast checker → · Palette generator →

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