#421A89#421A89

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

Color values

HEX#421A89
RGBrgb(66, 26, 137)
HSLhsl(262, 68%, 32%)
HSVhsv(262, 81%, 54%)
CMYKcmyk(51.8%, 81%, 0%, 46.3%)
CIE-LABlab(22.66, 44.22, -54.15)
CIE-LCHlch(22.66, 69.91, 309.23°)
OKLaboklab(35.35% 0.062 -0.1556)
OKLCHoklch(35.35% 0.167 291.7)
XYZxyz(7.1302, 3.7029, 24.0011)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A89 #61891A
analogous
#1A2989 #421A89 #7A1A89
triadic
#421A89 #89421A #1A8942
tetradic
#421A89 #891A29 #61891A #1A897A
square
#421A89 #891A29 #61891A #1A897A
split-complementary
#421A89 #897A1A #29891A
monochromatic
#100622 #291056 #421A89 #5B24BC #7942DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421A89#FFFFFF#000000##FFFFFF
##421A891.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)
#00388C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#2A3A52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421a89;
/* rgb */ color: rgb(66, 26, 137);
/* oklch */ color: oklch(35.3% 0.167 291.7);
Tailwind
colors: {
  custom: {
    50: '#7f5cac',
    500: '#421a89',
    950: '#000000',
  },
}
SCSS
$custom: #421a89;
$custom-light: #7f5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#421a89",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 261.622,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.16746,
    "h": 291.7
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#421A89
secondary
#90BC43
accent
#EB3DAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421A89

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

Preview Lab → · Contrast checker → · Palette generator →

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