#421D81#421D81

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

Color values

HEX#421D81
RGBrgb(66, 29, 129)
HSLhsl(262, 63%, 31%)
HSVhsv(262, 78%, 51%)
CMYKcmyk(48.8%, 77.5%, 0%, 49.4%)
CIE-LABlab(22.38, 40.58, -49.59)
CIE-LCHlch(22.38, 64.08, 309.29°)
OKLaboklab(34.91% 0.0619 -0.1422)
OKLCHoklch(34.91% 0.155 293.5)
XYZxyz(6.6475, 3.6217, 21.1134)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D81 #5C811D
analogous
#1D2A81 #421D81 #741D81
triadic
#421D81 #81421D #1D8142
tetradic
#421D81 #811D2A #5C811D #1D8174
square
#421D81 #811D2A #5C811D #1D8174
split-complementary
#421D81 #81741D #2A811D
monochromatic
#0F071D #28124F #421D81 #5C28B3 #7944D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421D81#FFFFFF#000000##FFFFFF
##421D811.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)
#003784
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#2F384E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421d81;
/* rgb */ color: rgb(66, 29, 129);
/* oklch */ color: oklch(34.9% 0.155 293.5);
Tailwind
colors: {
  custom: {
    50: '#7d5da6',
    500: '#421d81',
    950: '#000000',
  },
}
SCSS
$custom: #421d81;
$custom-light: #7d5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#421d81",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 262.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.15513,
    "h": 293.5
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#421D81
secondary
#8BB446
accent
#E641A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421D81

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

Preview Lab → · Contrast checker → · Palette generator →

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