#421E77#421E77

#421E77 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.142 H 296.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#421E77
RGBrgb(66, 30, 119)
HSLhsl(264, 60%, 29%)
HSVhsv(264, 75%, 47%)
CMYKcmyk(44.5%, 74.8%, 0%, 53.3%)
CIE-LABlab(21.65, 37.25, -44.43)
CIE-LCHlch(21.65, 57.98, 309.98°)
OKLaboklab(34.11% 0.0635 -0.1271)
OKLCHoklch(34.11% 0.142 296.5)
XYZxyz(6.0399, 3.4186, 17.7908)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E77 #53771E
analogous
#1E2677 #421E77 #6F1E77
triadic
#421E77 #77421E #1E7742
tetradic
#421E77 #771E26 #53771E #1E776F
square
#421E77 #771E26 #53771E #1E776F
split-complementary
#421E77 #776F1E #26771E
monochromatic
#0E0618 #271246 #421E77 #5D2AA8 #7A40CF

Accessibility & contrast

On white

12.47
#421E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#421E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E77
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E77#FFFFFF#000000##FFFFFF
##421E771.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#343548
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #421e77;
/* rgb */ color: rgb(66, 30, 119);
/* oklch */ color: oklch(34.1% 0.142 296.5);
Tailwind
colors: {
  custom: {
    50: '#7c5d9f',
    500: '#421e77',
    950: '#000000',
  },
}
SCSS
$custom: #421e77;
$custom-light: #7c5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#421e77",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 264.27,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34113,
    "c": 0.14205,
    "h": 296.5
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#421E77
secondary
#82AB46
accent
#E345A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #421E77

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

Preview Lab → · Contrast checker → · Palette generator →

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