#421F86#421F86

#421F86 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.159 H 291.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#421F86
RGBrgb(66, 31, 134)
HSLhsl(260, 62%, 32%)
HSVhsv(260, 77%, 53%)
CMYKcmyk(50.7%, 76.9%, 0%, 47.5%)
CIE-LABlab(23.20, 41.00, -51.39)
CIE-LCHlch(23.20, 65.74, 308.58°)
OKLaboklab(35.63% 0.0588 -0.1475)
OKLCHoklch(35.63% 0.159 291.7)
XYZxyz(7.0386, 3.8592, 22.9237)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F86 #63861F
analogous
#1F3086 #421F86 #751F86
triadic
#421F86 #86421F #1F8642
tetradic
#421F86 #861F30 #63861F #1F8675
square
#421F86 #861F30 #63861F #1F8675
split-complementary
#421F86 #86751F #30861F
monochromatic
#110823 #2A1454 #421F86 #5A2AB8 #794AD5

Accessibility & contrast

On white

11.85
#421F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#421F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F86
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F86#FFFFFF#000000##FFFFFF
##421F861.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#2C3B51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421f86;
/* rgb */ color: rgb(66, 31, 134);
/* oklch */ color: oklch(35.6% 0.159 291.7);
Tailwind
colors: {
  custom: {
    50: '#7e5faa',
    500: '#421f86',
    950: '#000000',
  },
}
SCSS
$custom: #421f86;
$custom-light: #7e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#421f86",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 260.388,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.15882,
    "h": 291.7
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#421F86
secondary
#92B849
accent
#E542AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421F86

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

Preview Lab → · Contrast checker → · Palette generator →

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