#421A90#421A90

#421A90 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.175 H 289.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#421A90
RGBrgb(66, 26, 144)
HSLhsl(260, 69%, 33%)
HSVhsv(260, 82%, 56%)
CMYKcmyk(54.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(23.37, 46.16, -57.35)
CIE-LCHlch(23.37, 73.62, 308.83°)
OKLaboklab(36.05% 0.0596 -0.1649)
OKLCHoklch(36.05% 0.175 289.9)
XYZxyz(7.6487, 3.9103, 26.7319)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A90 #68901A
analogous
#1A2D90 #421A90 #7D1A90
triadic
#421A90 #90421A #1A9042
tetradic
#421A90 #901A2D #68901A #1A907D
square
#421A90 #901A2D #68901A #1A907D
split-complementary
#421A90 #907D1A #2D901A
monochromatic
#120728 #2A115C #421A90 #5A23C4 #7A47DE

Accessibility & contrast

On white

11.78
#421A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#421A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A90
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A90#FFFFFF#000000##FFFFFF
##421A901.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#243D56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421a90;
/* rgb */ color: rgb(66, 26, 144);
/* oklch */ color: oklch(36.1% 0.175 289.9);
Tailwind
colors: {
  custom: {
    50: '#805db2',
    500: '#421a90',
    950: '#000000',
  },
}
SCSS
$custom: #421a90;
$custom-light: #805db2;
$custom-dark: #000000;
JSON
{
  "hex": "#421a90",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 260.339,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.17537,
    "h": 289.9
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#421A90
secondary
#96BF47
accent
#EC3CB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421A90

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

Preview Lab → · Contrast checker → · Palette generator →

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