#421B73#421B73

#421B73 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.141 H 298.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#421B73
RGBrgb(66, 27, 115)
HSLhsl(267, 62%, 28%)
HSVhsv(267, 77%, 45%)
CMYKcmyk(42.6%, 76.5%, 0%, 54.9%)
CIE-LABlab(20.75, 37.68, -43.33)
CIE-LCHlch(20.75, 57.42, 311.01°)
OKLaboklab(33.37% 0.0674 -0.1238)
OKLCHoklch(33.37% 0.141 298.6)
XYZxyz(5.7324, 3.1798, 16.5281)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B73 #4C731B
analogous
#1B2073 #421B73 #6E1B73
triadic
#421B73 #73421B #1B7342
tetradic
#421B73 #731B20 #4C731B #1B736E
square
#421B73 #731B20 #4C731B #1B736E
split-complementary
#421B73 #736E1B #20731B
monochromatic
#0E0619 #260F41 #421B73 #5E27A5 #7C38D0

Accessibility & contrast

On white

12.84
#421B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B73
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B73#FFFFFF#000000##FFFFFF
##421B731.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.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: #421b73;
/* rgb */ color: rgb(66, 27, 115);
/* oklch */ color: oklch(33.4% 0.141 298.6);
Tailwind
colors: {
  custom: {
    50: '#7c5b9c',
    500: '#421b73',
    950: '#000000',
  },
}
SCSS
$custom: #421b73;
$custom-light: #7c5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421b73",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 266.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33368,
    "c": 0.14099,
    "h": 298.6
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#421B73
secondary
#7BA842
accent
#E5439D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421B73

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

Preview Lab → · Contrast checker → · Palette generator →

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