#421E89#421E89

#421E89 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.163 H 291.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#421E89
RGBrgb(66, 30, 137)
HSLhsl(260, 64%, 33%)
HSVhsv(260, 78%, 54%)
CMYKcmyk(51.8%, 78.1%, 0%, 46.3%)
CIE-LABlab(23.31, 42.35, -53.09)
CIE-LCHlch(23.31, 67.91, 308.58°)
OKLaboklab(35.8% 0.0588 -0.1525)
OKLCHoklch(35.8% 0.163 291.1)
XYZxyz(7.2251, 3.8926, 24.0327)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E89 #65891E
analogous
#1E2F89 #421E89 #771E89
triadic
#421E89 #89421E #1E8942
tetradic
#421E89 #891E2F #65891E #1E8977
square
#421E89 #891E2F #65891E #1E8977
split-complementary
#421E89 #89771E #2F891E
monochromatic
#120825 #2A1357 #421E89 #5A29BB #7A4AD7

Accessibility & contrast

On white

11.81
#421E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E89
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E89#FFFFFF#000000##FFFFFF
##421E891.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#2A3C52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421e89;
/* rgb */ color: rgb(66, 30, 137);
/* oklch */ color: oklch(35.8% 0.163 291.1);
Tailwind
colors: {
  custom: {
    50: '#7e5eac',
    500: '#421e89',
    950: '#000000',
  },
}
SCSS
$custom: #421e89;
$custom-light: #7e5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#421e89",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 260.187,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.16344,
    "h": 291.1
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#421E89
secondary
#94BA49
accent
#E741AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421E89

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

Preview Lab → · Contrast checker → · Palette generator →

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