#421F89#421F89

#421F89 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.162 H 290.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#421F89
RGBrgb(66, 31, 137)
HSLhsl(260, 63%, 33%)
HSVhsv(260, 77%, 54%)
CMYKcmyk(51.8%, 77.4%, 0%, 46.3%)
CIE-LABlab(23.49, 41.86, -52.80)
CIE-LCHlch(23.49, 67.38, 308.41°)
OKLaboklab(35.92% 0.058 -0.1517)
OKLCHoklch(35.92% 0.162 290.9)
XYZxyz(7.2508, 3.9441, 24.0413)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F89 #66891F
analogous
#1F3189 #421F89 #771F89
triadic
#421F89 #89421F #1F8942
tetradic
#421F89 #891F31 #66891F #1F8977
square
#421F89 #891F31 #66891F #1F8977
split-complementary
#421F89 #89771F #31891F
monochromatic
#120825 #2A1457 #421F89 #5A2ABB #7A4CD6

Accessibility & contrast

On white

11.74
#421F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#421F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F89
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F89#FFFFFF#000000##FFFFFF
##421F891.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#293C53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421f89;
/* rgb */ color: rgb(66, 31, 137);
/* oklch */ color: oklch(35.9% 0.162 290.9);
Tailwind
colors: {
  custom: {
    50: '#7e5fac',
    500: '#421f89',
    950: '#000000',
  },
}
SCSS
$custom: #421f89;
$custom-light: #7e5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#421f89",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 259.811,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3592,
    "c": 0.16237,
    "h": 290.9
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#421F89
secondary
#95B94B
accent
#E642B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421F89

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

Preview Lab → · Contrast checker → · Palette generator →

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