#421E73#421E73

#421E73 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.137 H 298.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#421E73
RGBrgb(66, 30, 115)
HSLhsl(265, 59%, 28%)
HSVhsv(265, 74%, 45%)
CMYKcmyk(42.6%, 73.9%, 0%, 54.9%)
CIE-LABlab(21.30, 36.13, -42.43)
CIE-LCHlch(21.30, 55.73, 310.41°)
OKLaboklab(33.76% 0.0643 -0.1212)
OKLCHoklch(33.76% 0.137 298)
XYZxyz(5.8048, 3.3245, 16.5522)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E73 #4F731E
analogous
#1E2473 #421E73 #6C1E73
triadic
#421E73 #73421E #1E7342
tetradic
#421E73 #731E24 #4F731E #1E736C
square
#421E73 #731E24 #4F731E #1E736C
split-complementary
#421E73 #736C1E #24731E
monochromatic
#0E0618 #261142 #421E73 #5E2BA4 #7B3FCD

Accessibility & contrast

On white

12.61
#421E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#421E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421E73
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E73#FFFFFF#000000##FFFFFF
##421E731.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421e73;
/* rgb */ color: rgb(66, 30, 115);
/* oklch */ color: oklch(33.8% 0.137 298.0);
Tailwind
colors: {
  custom: {
    50: '#7b5d9c',
    500: '#421e73',
    950: '#000000',
  },
}
SCSS
$custom: #421e73;
$custom-light: #7b5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421e73",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 265.412,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33757,
    "c": 0.13722,
    "h": 298
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#421E73
secondary
#7EA746
accent
#E246A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421E73

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

Preview Lab → · Contrast checker → · Palette generator →

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