#421C86#421C86

#421C86 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.162 H 292.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#421C86
RGBrgb(66, 28, 134)
HSLhsl(262, 65%, 32%)
HSVhsv(262, 79%, 53%)
CMYKcmyk(50.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(22.69, 42.47, -52.23)
CIE-LCHlch(22.69, 67.32, 309.11°)
OKLaboklab(35.27% 0.0614 -0.15)
OKLCHoklch(35.27% 0.162 292.3)
XYZxyz(6.9639, 3.7097, 22.8988)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C86 #60861C
analogous
#1C2B86 #421C86 #771C86
triadic
#421C86 #86421C #1C8642
tetradic
#421C86 #861C2B #60861C #1C8677
square
#421C86 #861C2B #60861C #1C8677
split-complementary
#421C86 #86771C #2B861C
monochromatic
#100721 #291153 #421C86 #5B27B9 #7944D8

Accessibility & contrast

On white

12.06
#421C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C86
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C86#FFFFFF#000000##FFFFFF
##421C861.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c86;
/* rgb */ color: rgb(66, 28, 134);
/* oklch */ color: oklch(35.3% 0.162 292.3);
Tailwind
colors: {
  custom: {
    50: '#7e5daa',
    500: '#421c86',
    950: '#000000',
  },
}
SCSS
$custom: #421c86;
$custom-light: #7e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#421c86",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 261.509,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.16204,
    "h": 292.3
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#421C86
secondary
#8FB945
accent
#E83FAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C86

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

Preview Lab → · Contrast checker → · Palette generator →

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