#421EA1#421EA1

#421EA1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.191 H 285.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#421EA1
RGBrgb(66, 30, 161)
HSLhsl(256, 69%, 37%)
HSVhsv(256, 81%, 63%)
CMYKcmyk(59%, 81.4%, 0%, 36.9%)
CIE-LABlab(25.74, 49.17, -63.89)
CIE-LCHlch(25.74, 80.62, 307.58°)
OKLaboklab(38.22% 0.0513 -0.1841)
OKLCHoklch(38.22% 0.191 285.6)
XYZxyz(9.1421, 4.6595, 34.1289)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EA1 #7DA11E
analogous
#1E3BA1 #421EA1 #841EA1
triadic
#421EA1 #A1421E #1EA142
tetradic
#421EA1 #A11E3B #7DA11E #1EA184
square
#421EA1 #A11E3B #7DA11E #1EA184
split-complementary
#421EA1 #A1841E #3BA11E
monochromatic
#180B3A #2D146D #421EA1 #5728D5 #7E59E0

Accessibility & contrast

On white

10.87
#421EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#421EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EA1
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EA1#FFFFFF#000000##FFFFFF
##421EA11.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#0C4660
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #421ea1;
/* rgb */ color: rgb(66, 30, 161);
/* oklch */ color: oklch(38.2% 0.191 285.6);
Tailwind
colors: {
  custom: {
    50: '#8260be',
    500: '#421ea1',
    950: '#000000',
  },
}
SCSS
$custom: #421ea1;
$custom-light: #8260be;
$custom-dark: #000000;
JSON
{
  "hex": "#421ea1",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 256.489,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.19108,
    "h": 285.6
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#421EA1
secondary
#A6C457
accent
#EB3CBB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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