#421E90#421E90

#421E90 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.172 H 289.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#421E90
RGBrgb(66, 30, 144)
HSLhsl(259, 66%, 34%)
HSVhsv(259, 79%, 56%)
CMYKcmyk(54.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(24.00, 44.34, -56.32)
CIE-LCHlch(24.00, 71.68, 308.22°)
OKLaboklab(36.49% 0.0568 -0.1619)
OKLCHoklch(36.49% 0.172 289.3)
XYZxyz(7.7436, 4.1001, 26.7635)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E90 #6C901E
analogous
#1E3390 #421E90 #7B1E90
triadic
#421E90 #90421E #1E9042
tetradic
#421E90 #901E33 #6C901E #1E907B
square
#421E90 #901E33 #6C901E #1E907B
split-complementary
#421E90 #907B1E #33901E
monochromatic
#14092B #2B135D #421E90 #5929C3 #7A4EDA

Accessibility & contrast

On white

11.54
#421E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#421E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E90
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E90#FFFFFF#000000##FFFFFF
##421E901.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421e90;
/* rgb */ color: rgb(66, 30, 144);
/* oklch */ color: oklch(36.5% 0.172 289.3);
Tailwind
colors: {
  custom: {
    50: '#805fb2',
    500: '#421e90',
    950: '#000000',
  },
}
SCSS
$custom: #421e90;
$custom-light: #805fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#421e90",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 258.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36487,
    "c": 0.17161,
    "h": 289.3
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#421E90
secondary
#9ABD4D
accent
#E83FB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E90

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

Preview Lab → · Contrast checker → · Palette generator →

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