#421A77#421A77

#421A77 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.147 H 297.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#421A77
RGBrgb(66, 26, 119)
HSLhsl(266, 64%, 28%)
HSVhsv(266, 78%, 47%)
CMYKcmyk(44.5%, 78.2%, 0%, 53.3%)
CIE-LABlab(20.94, 39.26, -45.59)
CIE-LCHlch(20.94, 60.16, 310.74°)
OKLaboklab(33.61% 0.0674 -0.1305)
OKLCHoklch(33.61% 0.147 297.3)
XYZxyz(5.9451, 3.2288, 17.7592)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A77 #4F771A
analogous
#1A2177 #421A77 #701A77
triadic
#421A77 #77421A #1A7742
tetradic
#421A77 #771A21 #4F771A #1A7770
square
#421A77 #771A21 #4F771A #1A7770
split-complementary
#421A77 #77701A #21771A
monochromatic
#0E0519 #260F45 #421A77 #5E25A9 #7B38D3

Accessibility & contrast

On white

12.76
#421A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A77
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A77#FFFFFF#000000##FFFFFF
##421A771.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#343347
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421a77;
/* rgb */ color: rgb(66, 26, 119);
/* oklch */ color: oklch(33.6% 0.147 297.3);
Tailwind
colors: {
  custom: {
    50: '#7c5b9f',
    500: '#421a77',
    950: '#000000',
  },
}
SCSS
$custom: #421a77;
$custom-light: #7c5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#421a77",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 265.806,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.14684,
    "h": 297.3
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#421A77
secondary
#7EAC41
accent
#E741A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #421A77

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

Preview Lab → · Contrast checker → · Palette generator →

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