#421A76#421A76

#421A76 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.146 H 297.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#421A76
RGBrgb(66, 26, 118)
HSLhsl(266, 64%, 28%)
HSVhsv(266, 78%, 46%)
CMYKcmyk(44.1%, 78%, 0%, 53.7%)
CIE-LABlab(20.85, 38.99, -45.10)
CIE-LCHlch(20.85, 59.61, 310.84°)
OKLaboklab(33.52% 0.0677 -0.129)
OKLCHoklch(33.52% 0.146 297.7)
XYZxyz(5.8853, 3.2049, 17.4446)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A76 #4E761A
analogous
#1A2076 #421A76 #701A76
triadic
#421A76 #76421A #1A7642
tetradic
#421A76 #761A20 #4E761A #1A7670
square
#421A76 #761A20 #4E761A #1A7670
split-complementary
#421A76 #76701A #20761A
monochromatic
#0E0619 #260F44 #421A76 #5E25A8 #7B37D3

Accessibility & contrast

On white

12.80
#421A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A76
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A76#FFFFFF#000000##FFFFFF
##421A761.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#353247
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421a76;
/* rgb */ color: rgb(66, 26, 118);
/* oklch */ color: oklch(33.5% 0.146 297.7);
Tailwind
colors: {
  custom: {
    50: '#7c5b9e',
    500: '#421a76',
    950: '#000000',
  },
}
SCSS
$custom: #421a76;
$custom-light: #7c5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421a76",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 266.087,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3352,
    "c": 0.14569,
    "h": 297.7
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#421A76
secondary
#7DAB41
accent
#E7419F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A76

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

Preview Lab → · Contrast checker → · Palette generator →

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