#421D84#421D84

#421D84 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.159 H 292.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#421D84
RGBrgb(66, 29, 132)
HSLhsl(262, 64%, 32%)
HSVhsv(262, 78%, 52%)
CMYKcmyk(50%, 78%, 0%, 48.2%)
CIE-LABlab(22.66, 41.42, -51.02)
CIE-LCHlch(22.66, 65.71, 309.07°)
OKLaboklab(35.2% 0.0611 -0.1464)
OKLCHoklch(35.2% 0.159 292.7)
XYZxyz(6.8498, 3.7027, 22.1791)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D84 #5F841D
analogous
#1D2C84 #421D84 #761D84
triadic
#421D84 #84421D #1D8442
tetradic
#421D84 #841D2C #5F841D #1D8476
square
#421D84 #841D2C #5F841D #1D8476
split-complementary
#421D84 #84761D #2C841D
monochromatic
#100720 #291252 #421D84 #5B28B6 #7945D6

Accessibility & contrast

On white

12.06
#421D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D84
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D84#FFFFFF#000000##FFFFFF
##421D841.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#2D394F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421d84;
/* rgb */ color: rgb(66, 29, 132);
/* oklch */ color: oklch(35.2% 0.159 292.7);
Tailwind
colors: {
  custom: {
    50: '#7e5da9',
    500: '#421d84',
    950: '#000000',
  },
}
SCSS
$custom: #421d84;
$custom-light: #7e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#421d84",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 261.553,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35197,
    "c": 0.15865,
    "h": 292.7
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#421D84
secondary
#8EB746
accent
#E741AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421D84

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

Preview Lab → · Contrast checker → · Palette generator →

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