#421E84#421E84

#421E84 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.158 H 292.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#421E84
RGBrgb(66, 30, 132)
HSLhsl(261, 63%, 32%)
HSVhsv(261, 77%, 52%)
CMYKcmyk(50%, 77.3%, 0%, 48.2%)
CIE-LABlab(22.84, 40.93, -50.73)
CIE-LCHlch(22.84, 65.19, 308.90°)
OKLaboklab(35.32% 0.0602 -0.1456)
OKLCHoklch(35.32% 0.158 292.5)
XYZxyz(6.8747, 3.7525, 22.1874)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E84 #60841E
analogous
#1E2D84 #421E84 #751E84
triadic
#421E84 #84421E #1E8442
tetradic
#421E84 #841E2D #60841E #1E8475
square
#421E84 #841E2D #60841E #1E8475
split-complementary
#421E84 #84751E #2D841E
monochromatic
#100720 #291352 #421E84 #5B29B6 #7947D5

Accessibility & contrast

On white

12.00
#421E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#421E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E84
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E84#FFFFFF#000000##FFFFFF
##421E841.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421e84;
/* rgb */ color: rgb(66, 30, 132);
/* oklch */ color: oklch(35.3% 0.158 292.5);
Tailwind
colors: {
  custom: {
    50: '#7e5ea9',
    500: '#421e84',
    950: '#000000',
  },
}
SCSS
$custom: #421e84;
$custom-light: #7e5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#421e84",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 261.176,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.15756,
    "h": 292.5
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#421E84
secondary
#8FB747
accent
#E642AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421E84

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

Preview Lab → · Contrast checker → · Palette generator →

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