#421EAE#421EAE

#421EAE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.6% C 0.206 H 283.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#421EAE
RGBrgb(66, 30, 174)
HSLhsl(255, 71%, 40%)
HSVhsv(255, 83%, 68%)
CMYKcmyk(62.1%, 82.8%, 0%, 31.8%)
CIE-LABlab(27.14, 52.82, -69.44)
CIE-LCHlch(27.14, 87.25, 307.26°)
OKLaboklab(39.6% 0.0469 -0.2002)
OKLCHoklch(39.6% 0.206 283.2)
XYZxyz(10.3487, 5.1421, 40.4834)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421EAE #8AAE1E
analogous
#1E42AE #421EAE #8A1EAE
triadic
#421EAE #AE421E #1EAE42
tetradic
#421EAE #AE1E42 #8AAE1E #1EAE8A
square
#421EAE #AE1E42 #8AAE1E #1EAE8A
split-complementary
#421EAE #AE8A1E #42AE1E
monochromatic
#1A0C46 #2E157A #421EAE #592EDB #8362E4

Accessibility & contrast

On white

10.35
#421EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#421EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421EAE
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421EAE#FFFFFF#000000##FFFFFF
##421EAE1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #421eae;
/* rgb */ color: rgb(66, 30, 174);
/* oklch */ color: oklch(39.6% 0.206 283.2);
Tailwind
colors: {
  custom: {
    50: '#8561c8',
    500: '#421eae',
    950: '#000000',
  },
}
SCSS
$custom: #421eae;
$custom-light: #8561c8;
$custom-dark: #000000;
JSON
{
  "hex": "#421eae",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 255,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.20566,
    "h": 283.2
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#421EAE
secondary
#AEC95F
accent
#ED3AC1
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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