#421D9A#421D9A

#421D9A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.184 H 287.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#421D9A
RGBrgb(66, 29, 154)
HSLhsl(258, 68%, 36%)
HSVhsv(258, 81%, 60%)
CMYKcmyk(57.1%, 81.2%, 0%, 39.6%)
CIE-LABlab(24.86, 47.64, -61.07)
CIE-LCHlch(24.86, 77.45, 307.95°)
OKLaboklab(37.39% 0.0542 -0.1758)
OKLCHoklch(37.39% 0.184 287.1)
XYZxyz(8.5171, 4.3696, 30.9602)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D9A #759A1D
analogous
#1D369A #421D9A #801D9A
triadic
#421D9A #9A421D #1D9A42
tetradic
#421D9A #9A1D36 #759A1D #1D9A80
square
#421D9A #9A1D36 #759A1D #1D9A80
split-complementary
#421D9A #9A801D #369A1D
monochromatic
#160A33 #2C1366 #421D9A #5827CE #7C53DF

Accessibility & contrast

On white

11.21
#421D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#421D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D9A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D9A#FFFFFF#000000##FFFFFF
##421D9A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#19425C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421d9a;
/* rgb */ color: rgb(66, 29, 154);
/* oklch */ color: oklch(37.4% 0.184 287.1);
Tailwind
colors: {
  custom: {
    50: '#815fb9',
    500: '#421d9a',
    950: '#000000',
  },
}
SCSS
$custom: #421d9a;
$custom-light: #815fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#421d9a",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 257.76,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.18401,
    "h": 287.1
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#421D9A
secondary
#A0C251
accent
#EB3DB8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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