#421E8D#421E8D

#421E8D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.168 H 290.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#421E8D
RGBrgb(66, 30, 141)
HSLhsl(259, 65%, 34%)
HSVhsv(259, 79%, 55%)
CMYKcmyk(53.2%, 78.7%, 0%, 44.7%)
CIE-LABlab(23.70, 43.49, -54.94)
CIE-LCHlch(23.70, 70.07, 308.36°)
OKLaboklab(36.19% 0.0577 -0.1579)
OKLCHoklch(36.19% 0.168 290.1)
XYZxyz(7.5174, 4.0096, 25.5720)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E8D #698D1E
analogous
#1E328D #421E8D #791E8D
triadic
#421E8D #8D421E #1E8D42
tetradic
#421E8D #8D1E32 #698D1E #1E8D79
square
#421E8D #8D1E32 #698D1E #1E8D79
split-complementary
#421E8D #8D791E #328D1E
monochromatic
#130928 #2A135B #421E8D #5A29BF #7A4CD9

Accessibility & contrast

On white

11.65
#421E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#421E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E8D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E8D#FFFFFF#000000##FFFFFF
##421E8D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#263D55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #421e8d;
/* rgb */ color: rgb(66, 30, 141);
/* oklch */ color: oklch(36.2% 0.168 290.1);
Tailwind
colors: {
  custom: {
    50: '#7f5eaf',
    500: '#421e8d',
    950: '#000000',
  },
}
SCSS
$custom: #421e8d;
$custom-light: #7f5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#421e8d",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 259.459,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.16812,
    "h": 290.1
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#421E8D
secondary
#97BC4B
accent
#E840B1
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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