#421D80#421D80

#421D80 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.154 H 293.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#421D80
RGBrgb(66, 29, 128)
HSLhsl(262, 63%, 31%)
HSVhsv(262, 77%, 50%)
CMYKcmyk(48.4%, 77.3%, 0%, 49.8%)
CIE-LABlab(22.29, 40.29, -49.11)
CIE-LCHlch(22.29, 63.53, 309.37°)
OKLaboklab(34.82% 0.0622 -0.1408)
OKLCHoklch(34.82% 0.154 293.8)
XYZxyz(6.5813, 3.5953, 20.7651)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D80 #5B801D
analogous
#1D2A80 #421D80 #731D80
triadic
#421D80 #80421D #1D8042
tetradic
#421D80 #801D2A #5B801D #1D8073
square
#421D80 #801D2A #5B801D #1D8073
split-complementary
#421D80 #80731D #2A801D
monochromatic
#0F061C #28124E #421D80 #5C28B2 #7943D4

Accessibility & contrast

On white

12.22
#421D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D80
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D80#FFFFFF#000000##FFFFFF
##421D801.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421d80;
/* rgb */ color: rgb(66, 29, 128);
/* oklch */ color: oklch(34.8% 0.154 293.8);
Tailwind
colors: {
  custom: {
    50: '#7d5da6',
    500: '#421d80',
    950: '#000000',
  },
}
SCSS
$custom: #421d80;
$custom-light: #7d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#421d80",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 262.424,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.15395,
    "h": 293.8
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#421D80
secondary
#8AB345
accent
#E642A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421D80

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

Preview Lab → · Contrast checker → · Palette generator →

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