#421B86#421B86

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

Color values

HEX#421B86
RGBrgb(66, 27, 134)
HSLhsl(262, 66%, 32%)
HSVhsv(262, 80%, 53%)
CMYKcmyk(50.7%, 79.9%, 0%, 47.5%)
CIE-LABlab(22.52, 42.93, -52.50)
CIE-LCHlch(22.52, 67.82, 309.28°)
OKLaboklab(35.16% 0.0622 -0.1507)
OKLCHoklch(35.16% 0.163 292.4)
XYZxyz(6.9406, 3.6631, 22.8910)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B86 #5F861B
analogous
#1B2A86 #421B86 #781B86
triadic
#421B86 #86421B #1B8642
tetradic
#421B86 #861B2A #5F861B #1B8678
square
#421B86 #861B2A #5F861B #1B8678
split-complementary
#421B86 #86781B #2A861B
monochromatic
#100620 #291153 #421B86 #5B25B9 #7942D9

Accessibility & contrast

On white

12.12
#421B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#421B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B86
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B86#FFFFFF#000000##FFFFFF
##421B861.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#2C3950
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421b86;
/* rgb */ color: rgb(66, 27, 134);
/* oklch */ color: oklch(35.2% 0.163 292.4);
Tailwind
colors: {
  custom: {
    50: '#7e5caa',
    500: '#421b86',
    950: '#000000',
  },
}
SCSS
$custom: #421b86;
$custom-light: #7e5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#421b86",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 261.869,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.16305,
    "h": 292.4
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#421B86
secondary
#8EB944
accent
#E93EAB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421B86

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

Preview Lab → · Contrast checker → · Palette generator →

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