#421D73#421D73

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

Color values

HEX#421D73
RGBrgb(66, 29, 115)
HSLhsl(266, 60%, 28%)
HSVhsv(266, 75%, 45%)
CMYKcmyk(42.6%, 74.8%, 0%, 54.9%)
CIE-LABlab(21.11, 36.65, -42.74)
CIE-LCHlch(21.11, 56.30, 310.62°)
OKLaboklab(33.62% 0.0654 -0.1221)
OKLCHoklch(33.62% 0.139 298.2)
XYZxyz(5.7798, 3.2747, 16.5439)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D73 #4E731D
analogous
#1D2373 #421D73 #6D1D73
triadic
#421D73 #73421D #1D7342
tetradic
#421D73 #731D23 #4E731D #1D736D
square
#421D73 #731D23 #4E731D #1D736D
split-complementary
#421D73 #736D1D #23731D
monochromatic
#0E0618 #261142 #421D73 #5E29A4 #7B3CCE

Accessibility & contrast

On white

12.69
#421D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D73
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D73#FFFFFF#000000##FFFFFF
##421D731.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#363246
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421d73;
/* rgb */ color: rgb(66, 29, 115);
/* oklch */ color: oklch(33.6% 0.139 298.2);
Tailwind
colors: {
  custom: {
    50: '#7b5d9c',
    500: '#421d73',
    950: '#000000',
  },
}
SCSS
$custom: #421d73;
$custom-light: #7b5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421d73",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 265.814,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.1385,
    "h": 298.2
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#421D73
secondary
#7DA745
accent
#E3459F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D73

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

Preview Lab → · Contrast checker → · Palette generator →

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