#421E53#421E53

#421E53 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.098 H 313.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#421E53
RGBrgb(66, 30, 83)
HSLhsl(281, 47%, 22%)
HSVhsv(281, 64%, 33%)
CMYKcmyk(20.5%, 63.9%, 0%, 67.5%)
CIE-LABlab(18.85, 27.56, -25.33)
CIE-LCHlch(18.85, 37.43, 317.42°)
OKLaboklab(31.22% 0.0674 -0.071)
OKLCHoklch(31.22% 0.098 313.5)
XYZxyz(4.2721, 2.7114, 8.4803)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E53 #2F531E
analogous
#281E53 #421E53 #531E4A
triadic
#421E53 #53421E #1E5342
tetradic
#421E53 #53281E #2F531E #1E4A53
square
#421E53 #53281E #2F531E #1E4A53
split-complementary
#421E53 #4A531E #1E5328
monochromatic
#120816 #1E0E26 #421E53 #662E80 #893EAD

Accessibility & contrast

On white

13.62
#421E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E53
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E53#FFFFFF#000000##FFFFFF
##421E531.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C55
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#402735
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421e53;
/* rgb */ color: rgb(66, 30, 83);
/* oklch */ color: oklch(31.2% 0.098 313.5);
Tailwind
colors: {
  custom: {
    50: '#785c84',
    500: '#421e53',
    950: '#000000',
  },
}
SCSS
$custom: #421e53;
$custom-light: #785c84;
$custom-dark: #000000;
JSON
{
  "hex": "#421e53",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 280.755,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31217,
    "c": 0.09788,
    "h": 313.5
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#421E53
secondary
#5A8845
accent
#D7517C
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #421E53

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

Preview Lab → · Contrast checker → · Palette generator →

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