#421E9A#421E9A

#421E9A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.183 H 287.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#421E9A
RGBrgb(66, 30, 154)
HSLhsl(257, 67%, 36%)
HSVhsv(257, 81%, 60%)
CMYKcmyk(57.1%, 80.5%, 0%, 39.6%)
CIE-LABlab(25.01, 47.19, -60.82)
CIE-LCHlch(25.01, 76.98, 307.81°)
OKLaboklab(37.5% 0.0536 -0.1751)
OKLCHoklch(37.5% 0.183 287)
XYZxyz(8.5420, 4.4194, 30.9685)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E9A #769A1E
analogous
#1E389A #421E9A #801E9A
triadic
#421E9A #9A421E #1E9A42
tetradic
#421E9A #9A1E38 #769A1E #1E9A80
square
#421E9A #9A1E38 #769A1E #1E9A80
split-complementary
#421E9A #9A801E #389A1E
monochromatic
#160A34 #2C1467 #421E9A #5828CD #7C55DE

Accessibility & contrast

On white

11.15
#421E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#421E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E9A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E9A#FFFFFF#000000##FFFFFF
##421E9A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#19435C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421e9a;
/* rgb */ color: rgb(66, 30, 154);
/* oklch */ color: oklch(37.5% 0.183 287.0);
Tailwind
colors: {
  custom: {
    50: '#815fb9',
    500: '#421e9a',
    950: '#000000',
  },
}
SCSS
$custom: #421e9a;
$custom-light: #815fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#421e9a",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 257.419,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.18312,
    "h": 287
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#421E9A
secondary
#A1C153
accent
#EA3EB8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #421E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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