#421D71#421D71

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

Color values

HEX#421D71
RGBrgb(66, 29, 113)
HSLhsl(266, 59%, 28%)
HSVhsv(266, 74%, 44%)
CMYKcmyk(41.6%, 74.3%, 0%, 55.7%)
CIE-LABlab(20.94, 36.10, -41.73)
CIE-LCHlch(20.94, 55.18, 310.86°)
OKLaboklab(33.45% 0.0658 -0.1191)
OKLCHoklch(33.45% 0.136 298.9)
XYZxyz(5.6660, 3.2292, 15.9444)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D71 #4C711D
analogous
#1D2271 #421D71 #6C1D71
triadic
#421D71 #71421D #1D7142
tetradic
#421D71 #711D22 #4C711D #1D716C
square
#421D71 #711D22 #4C711D #1D716C
split-complementary
#421D71 #716C1D #22711D
monochromatic
#0E0618 #261140 #421D71 #5E29A2 #7C3CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421D71#FFFFFF#000000##FFFFFF
##421D711.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)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#373245
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421d71;
/* rgb */ color: rgb(66, 29, 113);
/* oklch */ color: oklch(33.4% 0.136 298.9);
Tailwind
colors: {
  custom: {
    50: '#7b5c9a',
    500: '#421d71',
    950: '#000000',
  },
}
SCSS
$custom: #421d71;
$custom-light: #7b5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#421d71",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 266.429,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.1361,
    "h": 298.9
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#421D71
secondary
#7BA544
accent
#E2459D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D71

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

Preview Lab → · Contrast checker → · Palette generator →

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