#421A73#421A73

#421A73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 298.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#421A73
RGBrgb(66, 26, 115)
HSLhsl(267, 63%, 28%)
HSVhsv(267, 77%, 45%)
CMYKcmyk(42.6%, 77.4%, 0%, 54.9%)
CIE-LABlab(20.58, 38.17, -43.61)
CIE-LCHlch(20.58, 57.96, 311.19°)
OKLaboklab(33.25% 0.0684 -0.1246)
OKLCHoklch(33.25% 0.142 298.8)
XYZxyz(5.7099, 3.1348, 16.5206)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A73 #4B731A
analogous
#1A1F73 #421A73 #6E1A73
triadic
#421A73 #73421A #1A7342
tetradic
#421A73 #731A1F #4B731A #1A736E
square
#421A73 #731A1F #4B731A #1A736E
split-complementary
#421A73 #736E1A #1F731A
monochromatic
#0E0619 #250F41 #421A73 #5F25A5 #7C36D2

Accessibility & contrast

On white

12.91
#421A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A73
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A73#FFFFFF#000000##FFFFFF
##421A731.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#363145
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421a73;
/* rgb */ color: rgb(66, 26, 115);
/* oklch */ color: oklch(33.2% 0.142 298.8);
Tailwind
colors: {
  custom: {
    50: '#7c5b9c',
    500: '#421a73',
    950: '#000000',
  },
}
SCSS
$custom: #421a73;
$custom-light: #7c5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421a73",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 266.966,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33245,
    "c": 0.1422,
    "h": 298.8
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#421A73
secondary
#7AA841
accent
#E6429C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421A73

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

Preview Lab → · Contrast checker → · Palette generator →

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