#421E88#421E88

#421E88 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.162 H 291.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#421E88
RGBrgb(66, 30, 136)
HSLhsl(260, 64%, 33%)
HSVhsv(260, 78%, 53%)
CMYKcmyk(51.5%, 77.9%, 0%, 46.7%)
CIE-LABlab(23.22, 42.07, -52.62)
CIE-LCHlch(23.22, 67.37, 308.64°)
OKLaboklab(35.7% 0.0591 -0.1511)
OKLCHoklch(35.7% 0.162 291.4)
XYZxyz(7.1537, 3.8641, 23.6567)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E88 #64881E
analogous
#1E2F88 #421E88 #771E88
triadic
#421E88 #88421E #1E8842
tetradic
#421E88 #881E2F #64881E #1E8877
square
#421E88 #881E2F #64881E #1E8877
split-complementary
#421E88 #88771E #2F881E
monochromatic
#110824 #2A1356 #421E88 #5A29BA #7A49D7

Accessibility & contrast

On white

11.85
#421E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#421E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E88
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E88#FFFFFF#000000##FFFFFF
##421E881.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#2A3B52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #421e88;
/* rgb */ color: rgb(66, 30, 136);
/* oklch */ color: oklch(35.7% 0.162 291.4);
Tailwind
colors: {
  custom: {
    50: '#7e5eac',
    500: '#421e88',
    950: '#000000',
  },
}
SCSS
$custom: #421e88;
$custom-light: #7e5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#421e88",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 260.377,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35702,
    "c": 0.16226,
    "h": 291.4
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#421E88
secondary
#93B949
accent
#E741AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #421E88

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

Preview Lab → · Contrast checker → · Palette generator →

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