#421D90#421D90

#421D90 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.173 H 289.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#421D90
RGBrgb(66, 29, 144)
HSLhsl(259, 66%, 34%)
HSVhsv(259, 80%, 56%)
CMYKcmyk(54.2%, 79.9%, 0%, 43.5%)
CIE-LABlab(23.84, 44.81, -56.59)
CIE-LCHlch(23.84, 72.18, 308.38°)
OKLaboklab(36.37% 0.0575 -0.1627)
OKLCHoklch(36.37% 0.173 289.5)
XYZxyz(7.7187, 4.0502, 26.7552)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D90 #6B901D
analogous
#1D3290 #421D90 #7C1D90
triadic
#421D90 #90421D #1D9042
tetradic
#421D90 #901D32 #6B901D #1D907C
square
#421D90 #901D32 #6B901D #1D907C
split-complementary
#421D90 #907C1D #32901D
monochromatic
#13082A #2B135D #421D90 #5927C3 #7A4CDB

Accessibility & contrast

On white

11.60
#421D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#421D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D90
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D90#FFFFFF#000000##FFFFFF
##421D901.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#243E56
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421d90;
/* rgb */ color: rgb(66, 29, 144);
/* oklch */ color: oklch(36.4% 0.173 289.5);
Tailwind
colors: {
  custom: {
    50: '#805eb2',
    500: '#421d90',
    950: '#000000',
  },
}
SCSS
$custom: #421d90;
$custom-light: #805eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#421d90",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 259.304,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.17258,
    "h": 289.5
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#421D90
secondary
#99BD4B
accent
#E93EB2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421D90

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

Preview Lab → · Contrast checker → · Palette generator →

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