#421C77#421C77

#421C77 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.144 H 296.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#421C77
RGBrgb(66, 28, 119)
HSLhsl(265, 62%, 29%)
HSVhsv(265, 76%, 47%)
CMYKcmyk(44.5%, 76.5%, 0%, 53.3%)
CIE-LABlab(21.28, 38.28, -45.02)
CIE-LCHlch(21.28, 59.09, 310.37°)
OKLaboklab(33.86% 0.0655 -0.1288)
OKLCHoklch(33.86% 0.145 296.9)
XYZxyz(5.9909, 3.3205, 17.7745)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C77 #51771C
analogous
#1C2477 #421C77 #701C77
triadic
#421C77 #77421C #1C7742
tetradic
#421C77 #771C24 #51771C #1C7770
square
#421C77 #771C24 #51771C #1C7770
split-complementary
#421C77 #77701C #24771C
monochromatic
#0E0619 #271045 #421C77 #5D28A9 #7A3CD1

Accessibility & contrast

On white

12.62
#421C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C77
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C77#FFFFFF#000000##FFFFFF
##421C771.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#343448
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421c77;
/* rgb */ color: rgb(66, 28, 119);
/* oklch */ color: oklch(33.9% 0.144 296.9);
Tailwind
colors: {
  custom: {
    50: '#7c5c9f',
    500: '#421c77',
    950: '#000000',
  },
}
SCSS
$custom: #421c77;
$custom-light: #7c5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#421c77",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 265.055,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33856,
    "c": 0.1445,
    "h": 296.9
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#421C77
secondary
#80AB44
accent
#E543A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #421C77

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

Preview Lab → · Contrast checker → · Palette generator →

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