#421C96#421C96

#421C96 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.180 H 288.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#421C96
RGBrgb(66, 28, 150)
HSLhsl(259, 69%, 35%)
HSVhsv(259, 81%, 59%)
CMYKcmyk(56%, 81.3%, 0%, 41.2%)
CIE-LABlab(24.29, 46.95, -59.55)
CIE-LCHlch(24.29, 75.83, 308.26°)
OKLaboklab(36.87% 0.0562 -0.1714)
OKLCHoklch(36.87% 0.18 288.2)
XYZxyz(8.1654, 4.1903, 29.2268)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C96 #70961C
analogous
#1C3396 #421C96 #7F1C96
triadic
#421C96 #96421C #1C9642
tetradic
#421C96 #961C33 #70961C #1C967F
square
#421C96 #961C33 #70961C #1C967F
split-complementary
#421C96 #967F1C #33961C
monochromatic
#15092F #2B1262 #421C96 #5926CA #7B4EDE

Accessibility & contrast

On white

11.42
#421C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#421C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C96
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C96#FFFFFF#000000##FFFFFF
##421C961.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#1E4059
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #421c96;
/* rgb */ color: rgb(66, 28, 150);
/* oklch */ color: oklch(36.9% 0.180 288.2);
Tailwind
colors: {
  custom: {
    50: '#815eb6',
    500: '#421c96',
    950: '#000000',
  },
}
SCSS
$custom: #421c96;
$custom-light: #815eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#421c96",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 258.689,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.18036,
    "h": 288.2
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#421C96
secondary
#9DC14D
accent
#EB3CB5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421C96

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

Preview Lab → · Contrast checker → · Palette generator →

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