#421A64#421A64

#421A64 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.125 H 305.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#421A64
RGBrgb(66, 26, 100)
HSLhsl(272, 59%, 25%)
HSVhsv(272, 74%, 39%)
CMYKcmyk(34%, 74%, 0%, 60.8%)
CIE-LABlab(19.30, 34.15, -35.93)
CIE-LCHlch(19.30, 49.57, 313.55°)
OKLaboklab(31.94% 0.0716 -0.1021)
OKLCHoklch(31.94% 0.125 305)
XYZxyz(4.9159, 2.8172, 12.3389)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A64 #3C641A
analogous
#1D1A64 #421A64 #641A61
triadic
#421A64 #64421A #1A6442
tetradic
#421A64 #641D1A #3C641A #1A6164
square
#421A64 #641D1A #3C641A #1A6164
split-complementary
#421A64 #61641A #1A641D
monochromatic
#100618 #220D33 #421A64 #622795 #8233C5

Accessibility & contrast

On white

13.43
#421A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A64
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A64#FFFFFF#000000##FFFFFF
##421A641.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#3C2B3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421a64;
/* rgb */ color: rgb(66, 26, 100);
/* oklch */ color: oklch(31.9% 0.125 305.0);
Tailwind
colors: {
  custom: {
    50: '#7a5a91',
    500: '#421a64',
    950: '#000000',
  },
}
SCSS
$custom: #421a64;
$custom-light: #7a5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#421a64",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 272.432,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.12465,
    "h": 305
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#421A64
secondary
#699A40
accent
#E2468E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #421A64

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

Preview Lab → · Contrast checker → · Palette generator →

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