#421A80#421A80

#421A80 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.157 H 294.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#421A80
RGBrgb(66, 26, 128)
HSLhsl(264, 66%, 30%)
HSVhsv(264, 80%, 50%)
CMYKcmyk(48.4%, 79.7%, 0%, 49.8%)
CIE-LABlab(21.78, 41.73, -49.94)
CIE-LCHlch(21.78, 65.08, 309.89°)
OKLaboklab(34.46% 0.0648 -0.1432)
OKLCHoklch(34.46% 0.157 294.4)
XYZxyz(6.5114, 3.4554, 20.7418)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A80 #58801A
analogous
#1A2580 #421A80 #751A80
triadic
#421A80 #80421A #1A8042
tetradic
#421A80 #801A25 #58801A #1A8075
square
#421A80 #801A25 #58801A #1A8075
split-complementary
#421A80 #80751A #25801A
monochromatic
#0E051A #28104D #421A80 #5C24B3 #7A3DD8

Accessibility & contrast

On white

12.42
#421A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#421A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A80
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A80#FFFFFF#000000##FFFFFF
##421A801.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#30364C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421a80;
/* rgb */ color: rgb(66, 26, 128);
/* oklch */ color: oklch(34.5% 0.157 294.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ca6',
    500: '#421a80',
    950: '#000000',
  },
}
SCSS
$custom: #421a80;
$custom-light: #7d5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#421a80",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 263.529,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34463,
    "c": 0.15721,
    "h": 294.4
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#421A80
secondary
#87B442
accent
#E93FA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421A80

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

Preview Lab → · Contrast checker → · Palette generator →

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