#421E97#421E97

#421E97 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.180 H 287.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#421E97
RGBrgb(66, 30, 151)
HSLhsl(258, 67%, 35%)
HSVhsv(258, 80%, 59%)
CMYKcmyk(56.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(24.70, 46.34, -59.48)
CIE-LCHlch(24.70, 75.40, 307.92°)
OKLaboklab(37.19% 0.0546 -0.1712)
OKLCHoklch(37.19% 0.18 287.7)
XYZxyz(8.2953, 4.3207, 29.6690)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E97 #73971E
analogous
#1E3797 #421E97 #7E1E97
triadic
#421E97 #97421E #1E9742
tetradic
#421E97 #971E37 #73971E #1E977E
square
#421E97 #971E37 #73971E #1E977E
split-complementary
#421E97 #977E1E #37971E
monochromatic
#150A31 #2C1464 #421E97 #5828CA #7C53DD

Accessibility & contrast

On white

11.26
#421E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#421E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E97
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E97#FFFFFF#000000##FFFFFF
##421E971.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#1D415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421e97;
/* rgb */ color: rgb(66, 30, 151);
/* oklch */ color: oklch(37.2% 0.180 287.7);
Tailwind
colors: {
  custom: {
    50: '#815fb7',
    500: '#421e97',
    950: '#000000',
  },
}
SCSS
$custom: #421e97;
$custom-light: #815fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#421e97",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 257.851,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.17968,
    "h": 287.7
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#421E97
secondary
#9FC051
accent
#EA3EB7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421E97

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

Preview Lab → · Contrast checker → · Palette generator →

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