#421B76#421B76

#421B76 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 297.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#421B76
RGBrgb(66, 27, 118)
HSLhsl(266, 63%, 28%)
HSVhsv(266, 77%, 46%)
CMYKcmyk(44.1%, 77.1%, 0%, 53.7%)
CIE-LABlab(21.02, 38.50, -44.82)
CIE-LCHlch(21.02, 59.08, 310.66°)
OKLaboklab(33.64% 0.0667 -0.1282)
OKLCHoklch(33.64% 0.145 297.5)
XYZxyz(5.9079, 3.2500, 17.4521)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B76 #4F761B
analogous
#1B2176 #421B76 #6F1B76
triadic
#421B76 #76421B #1B7642
tetradic
#421B76 #761B21 #4F761B #1B766F
square
#421B76 #761B21 #4F761B #1B766F
split-complementary
#421B76 #766F1B #21761B
monochromatic
#0E0619 #261044 #421B76 #5E26A8 #7B3AD2

Accessibility & contrast

On white

12.73
#421B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B76
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B76#FFFFFF#000000##FFFFFF
##421B761.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#353347
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421b76;
/* rgb */ color: rgb(66, 27, 118);
/* oklch */ color: oklch(33.6% 0.145 297.5);
Tailwind
colors: {
  custom: {
    50: '#7c5c9e',
    500: '#421b76',
    950: '#000000',
  },
}
SCSS
$custom: #421b76;
$custom-light: #7c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421b76",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 265.714,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.14452,
    "h": 297.5
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#421B76
secondary
#7EAA42
accent
#E642A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B76

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

Preview Lab → · Contrast checker → · Palette generator →

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