#421C73#421C73

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

Color values

HEX#421C73
RGBrgb(66, 28, 115)
HSLhsl(266, 61%, 28%)
HSVhsv(266, 76%, 45%)
CMYKcmyk(42.6%, 75.7%, 0%, 54.9%)
CIE-LABlab(20.93, 37.17, -43.03)
CIE-LCHlch(20.93, 56.86, 310.82°)
OKLaboklab(33.5% 0.0664 -0.123)
OKLCHoklch(33.5% 0.14 298.4)
XYZxyz(5.7557, 3.2265, 16.5359)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C73 #4D731C
analogous
#1C2173 #421C73 #6D1C73
triadic
#421C73 #73421C #1C7342
tetradic
#421C73 #731C21 #4D731C #1C736D
square
#421C73 #731C21 #4D731C #1C736D
split-complementary
#421C73 #736D1C #21731C
monochromatic
#0E0619 #261042 #421C73 #5E28A4 #7B3ACF

Accessibility & contrast

On white

12.76
#421C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C73
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C73#FFFFFF#000000##FFFFFF
##421C731.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c73;
/* rgb */ color: rgb(66, 28, 115);
/* oklch */ color: oklch(33.5% 0.140 298.4);
Tailwind
colors: {
  custom: {
    50: '#7b5c9c',
    500: '#421c73',
    950: '#000000',
  },
}
SCSS
$custom: #421c73;
$custom-light: #7b5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421c73",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 266.207,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.13976,
    "h": 298.4
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#421C73
secondary
#7CA743
accent
#E4449E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C73

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

Preview Lab → · Contrast checker → · Palette generator →

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