#421D86#421D86

#421D86 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.161 H 292.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#421D86
RGBrgb(66, 29, 134)
HSLhsl(261, 64%, 32%)
HSVhsv(261, 78%, 53%)
CMYKcmyk(50.7%, 78.4%, 0%, 47.5%)
CIE-LABlab(22.85, 41.99, -51.96)
CIE-LCHlch(22.85, 66.80, 308.94°)
OKLaboklab(35.39% 0.0605 -0.1492)
OKLCHoklch(35.39% 0.161 292.1)
XYZxyz(6.9880, 3.7580, 22.9068)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D86 #61861D
analogous
#1D2D86 #421D86 #771D86
triadic
#421D86 #86421D #1D8642
tetradic
#421D86 #861D2D #61861D #1D8677
square
#421D86 #861D2D #61861D #1D8677
split-complementary
#421D86 #86771D #2D861D
monochromatic
#100721 #291254 #421D86 #5B28B8 #7946D7

Accessibility & contrast

On white

11.99
#421D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D86
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D86#FFFFFF#000000##FFFFFF
##421D861.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#2C3A50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421d86;
/* rgb */ color: rgb(66, 29, 134);
/* oklch */ color: oklch(35.4% 0.161 292.1);
Tailwind
colors: {
  custom: {
    50: '#7e5eaa',
    500: '#421d86',
    950: '#000000',
  },
}
SCSS
$custom: #421d86;
$custom-light: #7e5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#421d86",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 261.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3539,
    "c": 0.16098,
    "h": 292.1
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#421D86
secondary
#90B946
accent
#E740AD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421D86

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

Preview Lab → · Contrast checker → · Palette generator →

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