#421A74#421A74

#421A74 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.143 H 298.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#421A74
RGBrgb(66, 26, 116)
HSLhsl(267, 63%, 28%)
HSVhsv(267, 78%, 45%)
CMYKcmyk(43.1%, 77.6%, 0%, 54.5%)
CIE-LABlab(20.67, 38.44, -44.11)
CIE-LCHlch(20.67, 58.51, 311.07°)
OKLaboklab(33.34% 0.0682 -0.1261)
OKLCHoklch(33.34% 0.143 298.4)
XYZxyz(5.7677, 3.1579, 16.8253)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A74 #4C741A
analogous
#1A1F74 #421A74 #6F1A74
triadic
#421A74 #74421A #1A7442
tetradic
#421A74 #741A1F #4C741A #1A746F
square
#421A74 #741A1F #4C741A #1A746F
split-complementary
#421A74 #746F1A #1F741A
monochromatic
#0E0619 #260F42 #421A74 #5E25A6 #7C36D2

Accessibility & contrast

On white

12.87
#421A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A74
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A74#FFFFFF#000000##FFFFFF
##421A741.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#363146
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421a74;
/* rgb */ color: rgb(66, 26, 116);
/* oklch */ color: oklch(33.3% 0.143 298.4);
Tailwind
colors: {
  custom: {
    50: '#7c5b9d',
    500: '#421a74',
    950: '#000000',
  },
}
SCSS
$custom: #421a74;
$custom-light: #7c5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#421a74",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 266.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.14336,
    "h": 298.4
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#421A74
secondary
#7BA941
accent
#E6419D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A74

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

Preview Lab → · Contrast checker → · Palette generator →

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