#421E80#421E80

#421E80 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 293.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#421E80
RGBrgb(66, 30, 128)
HSLhsl(262, 62%, 31%)
HSVhsv(262, 77%, 50%)
CMYKcmyk(48.4%, 76.6%, 0%, 49.8%)
CIE-LABlab(22.46, 39.79, -48.82)
CIE-LCHlch(22.46, 62.99, 309.18°)
OKLaboklab(34.94% 0.0613 -0.14)
OKLCHoklch(34.94% 0.153 293.6)
XYZxyz(6.6062, 3.6451, 20.7734)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E80 #5C801E
analogous
#1E2B80 #421E80 #731E80
triadic
#421E80 #80421E #1E8042
tetradic
#421E80 #801E2B #5C801E #1E8073
square
#421E80 #801E2B #5C801E #1E8073
split-complementary
#421E80 #80731E #2B801E
monochromatic
#0F071D #28124E #421E80 #5C2AB2 #7945D3

Accessibility & contrast

On white

12.15
#421E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E80
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E80#FFFFFF#000000##FFFFFF
##421E801.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#2F384D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421e80;
/* rgb */ color: rgb(66, 30, 128);
/* oklch */ color: oklch(34.9% 0.153 293.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ea6',
    500: '#421e80',
    950: '#000000',
  },
}
SCSS
$custom: #421e80;
$custom-light: #7d5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#421e80",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 262.041,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.15281,
    "h": 293.6
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#421E80
secondary
#8BB347
accent
#E543A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421E80

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

Preview Lab → · Contrast checker → · Palette generator →

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