#421D8A#421D8A

#421D8A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.166 H 291.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#421D8A
RGBrgb(66, 29, 138)
HSLhsl(260, 65%, 33%)
HSVhsv(260, 79%, 54%)
CMYKcmyk(52.2%, 79%, 0%, 45.9%)
CIE-LABlab(23.24, 43.12, -53.83)
CIE-LCHlch(23.24, 68.97, 308.70°)
OKLaboklab(35.78% 0.0594 -0.1546)
OKLCHoklch(35.78% 0.166 291)
XYZxyz(7.2723, 3.8717, 24.4040)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D8A #658A1D
analogous
#1D2F8A #421D8A #781D8A
triadic
#421D8A #8A421D #1D8A42
tetradic
#421D8A #8A1D2F #658A1D #1D8A78
square
#421D8A #8A1D2F #658A1D #1D8A78
split-complementary
#421D8A #8A781D #2F8A1D
monochromatic
#120825 #2A1257 #421D8A #5A28BD #7A49D9

Accessibility & contrast

On white

11.83
#421D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#421D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D8A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D8A#FFFFFF#000000##FFFFFF
##421D8A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#293C53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421d8a;
/* rgb */ color: rgb(66, 29, 138);
/* oklch */ color: oklch(35.8% 0.166 291.0);
Tailwind
colors: {
  custom: {
    50: '#7f5ead',
    500: '#421d8a',
    950: '#000000',
  },
}
SCSS
$custom: #421d8a;
$custom-light: #7f5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#421d8a",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 260.367,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.16565,
    "h": 291
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#421D8A
secondary
#94BB48
accent
#E840AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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