#421A86#421A86

#421A86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.164 H 292.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#421A86
RGBrgb(66, 26, 134)
HSLhsl(262, 68%, 31%)
HSVhsv(262, 81%, 53%)
CMYKcmyk(50.7%, 80.6%, 0%, 47.5%)
CIE-LABlab(22.37, 43.39, -52.76)
CIE-LCHlch(22.37, 68.31, 309.43°)
OKLaboklab(35.05% 0.063 -0.1515)
OKLCHoklch(35.05% 0.164 292.6)
XYZxyz(6.9180, 3.6180, 22.8835)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A86 #5E861A
analogous
#1A2886 #421A86 #781A86
triadic
#421A86 #86421A #1A8642
tetradic
#421A86 #861A28 #5E861A #1A8678
square
#421A86 #861A28 #5E861A #1A8678
split-complementary
#421A86 #86781A #28861A
monochromatic
#10061F #291053 #421A86 #5B24B9 #7940DA

Accessibility & contrast

On white

12.18
#421A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#421A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A86
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A86#FFFFFF#000000##FFFFFF
##421A861.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421a86;
/* rgb */ color: rgb(66, 26, 134);
/* oklch */ color: oklch(35.0% 0.164 292.6);
Tailwind
colors: {
  custom: {
    50: '#7e5caa',
    500: '#421a86',
    950: '#000000',
  },
}
SCSS
$custom: #421a86;
$custom-light: #7e5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#421a86",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 262.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.16405,
    "h": 292.6
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#421A86
secondary
#8DB942
accent
#EA3DAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421A86

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

Preview Lab → · Contrast checker → · Palette generator →

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